You are here: Re: CSS attributes for <hr> « HTML « IT news, forums, messages
Re: CSS attributes for <hr>

Posted by Jonathan N. Little on 02/24/07 15:21

Jukka K. Korpela wrote:
> Scripsit Jonathan N. Little:
>
>> Because "color: red;" means the text color is red, but the HR element
>> does not contain any text so it means nothing.
>
> That might be the logical view, but browsers take different views on it.
> See what happens (e.g. on IE 7) if you set hr { border: none; }. There
> is still something - the horizontal rule.

That's because MS will *never* let you get rid of the damn border on
HRs! Ever try using an image for a HR? Fun, but you have to live with IE
visitors will have to image HR bordered with a hairline inset border!


--
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

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