|
Posted by Disco Octopus on 10/21/05 01:41
rtconner wrote:
> Ok, help me out here. Given the following code snippet, why does my box
> only have a border on 3 sides in internet explorer? What can I do to
> fix it? This is pissing me off. It works fine in mozilla, its just IE
> that doesnt seem to know that a border goes on 4 sides, not 3.
>
> -----------------------------------------------------
>
> <snipped>
> -----------------------------------------------------
wow. lots of tables to traverse....
In your lowest table, its width is 100%.
However, its left margin is 30 px. Therefore, the way I understand it, this
lowest tables right boundary will push outside its parent by 30px.
compare the two yucky tables here....
the first one has width property, the second does not. Check it out in IE
and others.
<table border="1"><tr><td>
<table style="margin-left:30px;border:1px solid black;width:100%;">
<tr><td>blah</td></tr>
</table>
</td></tr></table>
<br><br>
<table border="1"><tr><td>
<table style="margin-left:30px;border:1px solid black">
<tr><td>blah</td></tr>
</table>
</td></tr></table>
--
order beef jerky online :
http://www.choicebeefjerky.com.au/order_online.html
not a beef jerky web site : http://mycoolfish.com/vote.cmks
go bare foot as often as possible
Navigation:
[Reply to this message]
|