You are here: Re: IE6: 1% is more than 1/100 body width? « HTML « IT news, forums, messages
Re: IE6: 1% is more than 1/100 body width?

Posted by Michael on 08/10/07 18:31

"Neredbojias" wrote in message
news:Xns998867969FD9Ananopandaneredbojias@198.186.190.161...
> Well bust mah britches and call me cheeky, on Fri, 10 Aug 2007 14:02:44
> GMT Michael scribed:
>
>> I have a content div, which is 60% wide with 20% on each side. In the
>> left 20% I want to float a menu. An example is at
>> http://dev.terrabulgaria.com/test.html
>> But in IE6, there is a major problem. The
>> contents div is shown nicely in place, but the float is placed all the
>> way to the right, with a left margin of about 110%, though the width
>> seems to be correct.
>
>A "sorta fix" would be to change margin-left:50% to padding-left:50%.

Well, if I'd even call it a fix it would be a very restrictive one at the
least.
Padding would create the white-space inside the box, which would not allow
me to set the border, nor the background-color.
Since I don't have IE6 on this computer (hooray for pre-installed Vista) I
can't test if padding instead of margin would work; I could use the
conditional CSS thing to make a borderless backgroundless padded version for
IE6 users and the "normal" good-looking version for everyone else. I'm not
thrilled at that idea though.

But thanks anyway for the suggestion.

Regards

Michael

 

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

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