You are here: Re: Phantom padding in MSIE « HTML « IT news, forums, messages
Re: Phantom padding in MSIE

Posted by Jonathan N. Little on 07/28/06 14:16

Rik wrote:
> Els wrote:
>> Rik wrote:
>>
>>> Hi guys,
>>>
>>> I've got a problem with a floated element:
>>>
>>> I've got a list floated to the left, and a block element besides it
>>> with a margin-left. Now, all other padding & margins set to zero, in
>>> MSIE the first lines inside the block element seems to get a
>>> padding/margin from the floated element of about 2px.
>> Make that 3px ;-)
>>
>> http://www.positioniseverything.net/explorer/threepxtest.html
>
> Yup, just found it after posting, isn't that always the case...
>
> But damn, it seems a hack is required, after months of producing only
> browser-independant, portable css...
>
> Well, unless I want to position everything absolute (which is something I
> try to avoid) I guess it's the only way.

My advice is to approach your design where the 3px will not matter and
not try to do back-flips and hacks to accommodate IE. Maybe in a faraway
time MS will get their sh*t together.

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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