vertical divider css

Posted by 422 on Stack Overflow See other posts from Stack Overflow or by 422
Published on 2011-01-12T23:49:19Z Indexed on 2011/01/12 23:53 UTC
Read the original article Hit count: 207

Filed under:

I am creating a vertical divider, that works fine. But the css is cumbersome.

The css is:

.headerDivider1 { border-left:1px solid #38546d;height:80px;position:absolute;right:250px;top:10px; }

.headerDivider2 { border-left:1px solid #16222c;height:80px;position:absolute;right:249px;top:10px; }

The html is:

<div class="headerDivider1"></div><div class="headerDivider2"></div>

The result is:

alt text

How could I tidy the html and css up please ?

© Stack Overflow or respective owner

Related posts about css