% width text box making container bigger bug?

A

AndrewF

Hi all,

I've been trying to google this bug for a few hours and haven't turned
up anything which leads me to believe the way I'm framing the question
is the way someone else has.

Anyway hopefully someone can help.

Basically I have a table on a web form that is being created
dynamically with a set of fields being rendered programatically down
the page.

Essentially two columns:

----------------------------------------------------------------------------
Fieldname | Field
----------------------------------------------------------------------------
Fieldname | Field
----------------------------------------------------------------------------

Etc all the way down.

The fields are a mix of single line text boxes, multi-line text boxes
and drop down lists.

Everything works completely fine programmatically and build wise except
when there is a single line text box [width set to 80% of the table
cell it sits in] and the text is too long to fit in the box and thus
goes invisible [out the end of the field where you'd need to cursor to
see it] - it then seems to push the containing Table Cell out by the
requisite amount as well.

On quite long things [particualrly a field which contains a URL] they
are creating the situation where the cell is maybe 50% again the width
of the screen thus shifting everything out proportionately because I
use a fluid design rather than fixed to accomodate different sized
screens.

I've tried commanding it to a fixed width [no good], setting a style
[no good], adding attributes in code [no good] - in fact nothing seems
to fix the problem.

Has anyone come across this before and if so, how do you fix it?

Kindest regards
AndrewF
 
R

Rob Meade

...
Everything works completely fine programmatically and build wise except
when there is a single line text box [width set to 80% of the table
cell it sits in] and the text is too long to fit in the box and thus
goes invisible [out the end of the field where you'd need to cursor to
see it] - it then seems to push the containing Table Cell out by the
requisite amount as well.
Has anyone come across this before and if so, how do you fix it?

Not the pushing out of the containing cell, but then I wouldn't use a %
width on an element anyway...can you post up the HTML output from a
view-source for that table only which contains the cell in question...

Regards

Rob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top