Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- HR not validating for any Netscape


encyclo - 12:01 am on Jul 6, 2004 (gmt 0)


Try this:

<hr size="1" width="80%" [b]style="color:#b4b4b4;background:#b4b4b4;"[/b] ALIGN="RIGHT" NOSHADE>

That will validate and should do the job.

Mozilla/Netscape 6.x and up use the background color rather than the foreground color to style the hr tag. Using the color attribute isn't valid (althogh the rest is if you're using a transitional doctype), but you can replace color by the CSS equivalent.

I feel that hr has it's place, although many don't like the fact that it is considered to be presentational rather than structural.


Thread source:: http://www.webmasterworld.com/html/8223.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com