You are here: Re: Child TABLE, width:100% « HTML « IT news, forums, messages
Re: Child TABLE, width:100%

Posted by Oli Filth on 10/01/85 11:18

Els said the following on 11/06/2005 20:52:
> Oli Filth wrote:
>
>
>>Please have a look at this test page: http://olifilth.co.uk/01.html
>
>
>>In Firefox, it does what one would expect, i.e. the central DIV falls
>>between the ones on either side according to the CSS positioning, and
>>the child TABLE expands to fill 100% of this DIV's width.
>>
>>However in IE (6), the central DIV flows off the right-hand side of the
>>page, because IE decides to (incorrectly) use the viewport as its
>>reference for TABLE percentage measurements.
>
>
>>Any ideas?
>
>
> Don't use position:absolute for the middle container, but use margins
> instead:
>
> #listing
> {
> margin-left: 250px;
> margin-right: 250px;
> }
>
> tested in IE6, Opera8 and FF1.0.4.

Excellent, that does fix it! Cheers.


--
Oli

 

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

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