![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
However, both FF and IE do create space at the right, they are making the cell wider than 200px. I cannot figure out why they do this and how to stop them from doing this. |
|
LEFTNAV<br img src="160x3.gif" alt="" width="160" height="3" hspace="0" vspace="0" border="0" /td |
|
Any help is appreciated. Louis. |
#3
| |||
| |||
|
|
I have a cell that I making 200px wide with a style sheet. I am setting the padding-left to 40px and the padding-right to 0px. I have 160x3 px gif in the cell. There should be no space between the gif and the right side of the cell (40 + 160 = 200). |
#4
| |||
| |||
|
|
Louis. <> wrote: I have a cell that I making 200px wide with a style sheet. I am setting the padding-left to 40px and the padding-right to 0px. I have 160x3 px gif in the cell. There should be no space between the gif and the right side of the cell (40 + 160 = 200). Under the W3C box model rules horizontal padding is added to the width of the table cell (200 + 40 = 240). http://www.netadvies.nl/test/index.html Btw, you trigger quirks mode rendering. All bets are off on what you'll get in quirks mode, I suggest you at least use a transitional doctype that triggers "Standards" mode, or better: switch to Strict coding and doctype. |
![]() |
| Thread Tools | |
| Display Modes | |
| |