You are here: Re: Borders (I hate IE) « HTML « IT news, forums, messages
Re: Borders (I hate IE)

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация