Styles

  • Thread starter Thread starter Bill Gee
  • Start date Start date
B

Bill Gee

Can I create styles for horizontal lines in my external CSS and if so, how
can I go about it?
What is the html tag called <hr> for?
 
<hr> = horizontal rule (line)

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
That's me on Sundays: <hr> :-)


Thomas A. Rowe said:
<hr> = horizontal rule (line)

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Bill,
what is it you're trying to make your horizontal line look like?

I developed a trick where I just lay the <hr> onto the page but in the style
sheet I have hr{display: none;} and make a div that I surround it with that
can look like anything I want, so usually it's got a width, height, and I
use an image as the background. usually I call it .hr
so after I'm done with the page I'll do a find and replace on <hr> and
replace it with <div class="hr"><hr></div>.

It's worked nicely for me. If you want I'll cut and paste an example of
exactly what it looks like on the style sheet.

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

Please feel free to contact me here:
http://nedp.net/contact/
 
it's just a quick, light way to make very fancy <hr> that can be controlled
by the style sheet, i.e. if I want them to print, revert to a different
format in other media types, change the image for it throughout the site in
just one place, etc.

--
Chris Leeds,
Microsoft MVP-FrontPage

Please feel free to contact me here:
http://nedp.net/contact/
--
 
Back
Top