horizontal line

G

Guest

I am trying to create 3 styles for 3 different horizontal lines.
I don't see the horizontal line in an html tag and cannot create it with the
format options.
I can create it in the design view and click the style button in the
Horizontal Line Properties window but this doesn't allow me to name a Name or
Style only a Class or ID and I can't figure out how to do that.
Help.
XP FP 2003
 
C

Charles Ezzell \(MSFT\)

Not that I'm any expert by any means, but have been playing with similar.

<head>
<style type="text/css">
..hrstyle2 {
color: #FF0000;
}
..hrstyle1
{
height: 10px;
color: #00FFFF;
border: 5px double #0000FF;
}
</style>
</head>

<body>

<hr class="hrstyle1" />
<hr class="hrstyle2" />

</body>

--
HTH,
Charles Ezzell
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
K

Kevin Spencer

A Horizontal Line HTML tag looks like this: <hr>

To add a class to it, just type in <hr class="classname">

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but you can't make it stink.
 

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


Top