You are here: Re: "_" Character appearing before Img « HTML « IT news, forums, messages
Re: "_" Character appearing before Img

Posted by Alan J. Flavell on 03/19/06 20:47

On Sun, 19 Mar 2006, Jonathan N. Little wrote:

[unholy scrapyard of </font> snipped...]

> <hr align="left" color="#ff0000" width="70%">
>
> You could style your HR in a stylesheet with:
>
> HR { border: 1px solid #ff0000; #ff0000; width: 70%; margin-left: 0; }

In theory, yes. When I tried this, some years ago, in the era when
IE4 and NN4 still needed to be considered, I found that some browsers
were quite reluctant to style <hr> itself, and I finished up with a
plan which involved putting the <hr> (which I retained for fallback
use when CSS was unsupported or disabled) inside <div>, and using CSS
for styling the <div> (and for setting the hr width to 0 so that it
didn't show). [1]

Do we have current information on any residual problems with merely
styling the <hr> itself?


> All the FONT junk isn't required

Amen to that.


[1] if anyone's still interested in this history:
http://ppewww.ph.gla.ac.uk/~flavell/www/hrstyle.html -
but the content hasn't been substantively revised since 2002 or so.

 

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

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