PDA

View Full Version : Html <TD> width problem


Fonz
2007-01-03, 07:07 PM
Ok, I've had this problem several times before and I've never been able to solve it.

It only seems to happen in IE...

http://www.babes-for-fun.com/100gals/sammy4u/

You see that the spaces between the thumbs decrease in size if you go from left to right. If I remove the black text in the center of the ad at the center of the page all the spaces between the thumbs are the same again but as soon as I start typing text and it jumps to a new line the <td> the text is in just gets smaller.

FF doesn't seem to have this problem..

Anyone?

CrazySy
2007-01-03, 07:40 PM
Hey Fonz |waves|

Change <td colspan=2 rowspan=2 align=left valign=middle> to <td width=360 colspan=2 rowspan=2 align=left valign=middle> and see if it fixes the problem.

Cleo
2007-01-03, 07:47 PM
Your table math doesn't add up correctly.

<TABLE width=766
should be
<table width=840
And on the nested table
<table width=720
Should be
<table width=840

DangerDave
2007-01-03, 07:48 PM
..or possibly a width="25%" in each of the TD tags for one row... should hold it in place...

DD

_______________________________
No Nats (http://www.nonats.com/) - Find programs that DON'T use NATS
Old Dollars (http://www.owamw.com/webmasters/program.shtml) - Selling older women via CCBill for longer than NATS has been around

oast
2007-01-03, 07:58 PM
Having a quick look:
Try adding a width to the text cell

width="390"
2x180 (the cell widths) + 2x15 (the cellspacing that you are merging)

Fonz
2007-01-04, 11:01 AM
Hey Fonz |waves|

Change <td colspan=2 rowspan=2 align=left valign=middle> to <td width=360 colspan=2 rowspan=2 align=left valign=middle> and see if it fixes the problem.
Well I'll be damned, that did the trick :)
Thanx!

Cleo, I got 2 tables, one width 766, the other nested in the first width 720, don't know where that 840 comes from :)

Thanks for the help all.