You are here: Re: Clearing floats without introducing a new line. How? « HTML « IT news, forums, messages
Re: Clearing floats without introducing a new line. How?

Posted by Beauregard T. Shagnasty on 11/02/82 11:24

Andrey Tarasevich wrote:
> Mark Parnell wrote:
>
>>> This works, but unfortunately the <br> element has an unwanted
>>> side effect - it introduces a line break,
>>
>> That's what a <br> is for. ;-)
>>
>> Hint: add the clear attribute to the <hr> instead. ...
>
> It looks like I started to celebrate too early. Adding the 'clear:
> all' CSS property to 'hr' works in IE, but doesn't work in Mozilla.
> It looks like Mozilla completely ignores any CSS properties applied
> to <hr> items.

clear: *all* is not on the list. none/left/right/both/inherit
http://www.w3.org/TR/REC-CSS2/visuren.html#flow-control

( Therefore, IE must be broken. :-D )

--
-bts
-This space intentionally left blank.

 

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

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