You are here: Re: Another CSS question: IE6 negative margin problem « HTML « IT news, forums, messages
Re: Another CSS question: IE6 negative margin problem

Posted by Neredbojias on 10/13/05 20:09

With neither quill nor qualm, rf quothed:

> guttyguppy@gmail.com wrote:
>
> > Check out http://fieldii.com/pain.html in firefox, and then in IE6.
> > Notice the callouts getting covered up in IE6? Is there a hack?
>
> Yes (Nerodbojias) there is a hack.
>
> Negative margins will not allow (in IE) the callouts to break outside their
> container but relative positioning will.
>
> For the left, remove
> margin: left;
>
> Add
> position: relative; left: -50px;
>
> To fix up the text flow change
> margin-right: 10px;
> to
> margin-right: -40px;
>
> Similar (but the other way round) for the right callout:
>
> position: relative;
> left: 50px;
> margin-left: -40px;

Well, I was going for a hack for the floats. Anybody could do it with
relative positioning.

--
Neredbojias
Contrary to popular belief, it is believable.

 

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

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