View Full Version : Vertical Lines
09-03-2011, 07:56 AM
Hey there, anyone know how to create a vertical line with css,
just a basic line you would get from placing <hr> tag in HTML but obviously not horizontal.
Any tips on altering style, color etc would be sweet too,
09-03-2011, 09:06 AM
have two <div> side by side and have one of the div have border-right or border-left in the css
09-03-2011, 09:07 AM
You can use border properties of CSS, like border-left and border-right
09-03-2011, 09:18 AM
you could also use a table and get rid of all the borders other than the vertical one...
09-06-2011, 06:13 PM
If you want something similar to an <hr> tag, why not use <hr> plus some styling?
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.