Styles

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

Thomas A. Rowe

<hr> = horizontal rule (line)

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
C

Crash

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.
==============================================
 
C

Chris Leeds, MVP-FrontPage

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

Chris Leeds, MVP-FrontPage

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

horizontal line 2
Styles are kicking my... 1
class question... 1
Style sheets 4
FP 2003, CSS & SERPs 1
Strict mode pages - How can FP do it ? 10
styles list 6
Formatting the normal CSS with custom colors 3

Top