draw a single line

liunx

Guest
Want to draw a line to make sections on the web page.

how to draw a single line?

thanks.<!-- m --><a class="postlink" href="http://www.w3schools.com/css/css_border.aspHi">http://www.w3schools.com/css/css_border.aspHi</a><!-- m --> Rxyz,

You may use <hr> tag, or set CSS for border, example

border-top: solid 1px #000000;

Kiat Hau
<!-- m --><a class="postlink" href="http://webidiot.blogspot.com">http://webidiot.blogspot.com</a><!-- m -->, Learn how to build a web siteNormally "sections" are separated by headings and quite often borders on those headings are used for visual separation. E.g.

h2 { border-top: 1px dotted #000 }
 
Back
Top