Welcome to WebmasterWorld Guest from 54.162.157.249

Forum Moderators: not2easy

Message Too Old, No Replies

CSS dotted horizontal lines

Any ideas?

     
11:37 am on Oct 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Trying to create HRs that are dotted. Is this possible? Or do you have to do it with Div somehow?

Apologies if this is something really obvious... I'm new to this...

11:41 am on Oct 24, 2002 (gmt 0)

WebmasterWorld Senior Member nick_w is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Yeah, just add it to an element:

<p style="border: 1px dashed #000000;">blah</p>

Or to make sure browsers that don't understand it get something, do it like this:

div#thisHasTopBorder {
border-top: 1px solid #000000;
border-style: dashed;
}

Nick

11:59 am on Oct 24, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks much. :)
 

Featured Threads

Hot Threads This Week

Hot Threads This Month