You are here: Re: Using percentage widths « HTML « IT news, forums, messages
Re: Using percentage widths

Posted by Ed Seedhouse on 12/23/06 05:57

On Sat, 23 Dec 2006 08:37:07 +1100, dorayme
<doraymeRidThis@optusnet.com.au> wrote:

>In article <3ssmo2l1sas26l9c74tpb4s80u0grqal7c@4ax.com>,
> Ed Seedhouse <eseedhouse@shaw.ca> wrote:
>
>> On Thu, 21 Dec 2006 17:25:30 -0600, Bergamot <bergamot@visi.com> wrote:
>>
>> >dorayme wrote:
>> >>
>> >> You do need to specially provide for IE 6: with floats, this
>> >> browser adds 3 pixels between the floated rectangles
>> >
>> >FYI, I don't see this.
>>
>> Well, it does, but there is a simple and widely known fix for it that
>> won't even upset the validator.
>
>When I have had to provide for this, I do one of a number of
>things. Either a css instruction for IE eyes only (with different
>dims) or else make for looser design where it does not much
>matter. When right text is likely to drop below a left float, I
>tend to do the first because of the jog, otherwise the second.
>
>Now, Ed, your turn to spill your beans.

As I recall, you apply the rule "display: block;" to the floated
elements. This is redundant and pointless in a good browser, but not
invalid, and it fixes the IE margin bugs on floats. Or at least the
sources I read tell me so, I haven't actually tested it.

 

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

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