For horizontal it is <hr>. but for vertical line?
            Asked
            
        
        
            Active
            
        
            Viewed 1.7e+01k times
        
    4 Answers
12
            
            
        There are no vertical lines in html that you can use but you can fake one by absolutely positioning a div outside of your container with a top:0; and bottom:0; style.
Try this:
CSS
.vr {
    width:10px;
    background-color:#000;
    position:absolute;
    top:0;
    bottom:0;
    left:150px;
}
HTML
<div class="vr"> </div>
        Andres I Perez
        
- 75,075
 - 21
 - 157
 - 138
 
1
            
            
        That's no struts related problem but rather plain HMTL/CSS.
I'm not HTML or CSS expert, but I guess you could use a div with a border on the left or right side only.
        Thomas
        
- 87,414
 - 12
 - 119
 - 157
 
1
            
            
        <hr> is not from struts. It is just an HTML tag. 
So, take a look here: http://www.microbion.co.uk/web/vertline.htm This link will give you a couple of tips.
        AlexR
        
- 114,158
 - 16
 - 130
 - 208
 
` worked for me. – phocks Feb 23 '19 at 23:31