Trouble with pre-set column widths displaying

They have: 5,633 posts

Joined: Jan 1970

Hello,

I'm trying to create a table (3 columns - 9 rows) to display new information on our home page. the number of rows varies between each column. i am trying to pre-set the width of each colum, so that they are the same and i cannot seem to do so. my properties window tells me that each column is indeed the specified width (in pixels) but when i view it (IE v4), each column displays a different width.

Does anyone have any suggestions on what i might be doing wrong??

Vincent Puglia's picture

They have: 634 posts

Joined: Dec 1999

Hi,

Seeing as how you didn't include any code, no I can't tell you. However, if you are using percentages, IE is probably using that as a suggestion and not a reality. So, in cases where there is nothing in the 2nd or 3rd column, the 1st column will expand to accomodate the text.
If this is the case, you have a number of options:
specify pixels (which means you may have problems when the user changes the screen size);
"pre" your columnar text; that is, force the browser to write the text in a pre-determined format;
use a table for each column.

Hope this helps
Vinny

------------------
GrassBlade: cut&paste javascript

Where the world once stood
the blades of grass cut me still

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.