Forum Moderators: open

Message Too Old, No Replies

Vertical and horizontal lines in HTML

         

webustaad

9:31 pm on Jul 15, 2003 (gmt 0)

10+ Year Member



Dear webmasters!

Can anyone tell me how can I draw vertical and horizontal lines in HTML?

krieves

9:43 pm on Jul 15, 2003 (gmt 0)

10+ Year Member



The <hr> tag creates a horizontal line. If you want vertical lines (such as borders in a table) you need to use an in-line style.

tedster

1:42 am on Jul 16, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Also you can add just a border to one side of an level element using CSS.