html

How do I draw a vertical line in html. Is there any tag for drawing a vertical line in html ?

Angela Poynton

Ranch Hand

Posts: 3143

posted 16 years ago

I'm moving this to the HTML and Javascript Forum!

Pounding at a thick stone wall won't move it, sometimes, you need to step back to see the way around.

Frank Carver

Sheriff

Posts: 6920

posted 16 years ago

There is no tag for drawing a vertical line, but you can always use a scaled image. Create a 1 pixel square gif file using any paint program, any color you like, call it (say) 1x1.gif and include the following html: <img src='1x1.gif' width='1' height='100'> to get a rectangle 1 pixel wide and 100 pixels high, ie. a vertical line!