thesprucegoose
07-31-2009, 01:19 PM
Hey all,
I'm trying to make a vertical rule with a div. For some reason, height:100%; isn't working. Anybody know how to make the div span the entire height of the page and scale via browser resize?
CSS:
#blue-rule {
background:transparent url(../images/blue_rule.png) repeat-y scroll 0 0;
float:left;
height:100%;
margin-left:-60px;
min-height:1718px;
width:1px;}
HTML:
</div> <!--NAV-->
<div id="blue-rule"> </div>
<div id="content" class="clearfix">
Any feedback would be helpful
Thanks forum!
--thesprucegoose
I'm trying to make a vertical rule with a div. For some reason, height:100%; isn't working. Anybody know how to make the div span the entire height of the page and scale via browser resize?
CSS:
#blue-rule {
background:transparent url(../images/blue_rule.png) repeat-y scroll 0 0;
float:left;
height:100%;
margin-left:-60px;
min-height:1718px;
width:1px;}
HTML:
</div> <!--NAV-->
<div id="blue-rule"> </div>
<div id="content" class="clearfix">
Any feedback would be helpful
Thanks forum!
--thesprucegoose