Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: incrediBILL
If it's just 1-color (maybe 2-color if you want a shading) then this is a situation where changing width in the html is no problem whatsoever, and it works in any browser where images are turned on. And if images are turned off, then you still get a divider created by the placeholder for the image.
And if the image is a single color that harmonizes with your site's design, then you can also resize it in many other ways besides substituting for an <hr> - use it for a tiled background to create a big color block, for example.
<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
tag. Using the
attribute isn't valid (althogh the rest is if you're using a transitional doctype), but you can replace
by the CSS equivalent.
I feel that
has it's place, although many don't like the fact that it is considered to be presentational rather than structural.