Hello all,
This is a relatively simple problem I ran into when designing my site, so hopefully you can help me out here. I have a div like so (for example):
<div class="box">testing</div>
And here's the CSS:
.box {
margin-left: auto;
margin-right: auto;
width: 50px;
color: red;
background-color: blue;
}
Now how do I make the the div basically extend all the way to the bottom of the screen, so I've got a blue stripe down the middle? At first I thought that a div clear:both
would do it, but my research seemed to show otherwise, and didn't work when I tried it inside or outside the div box.
Thanks in advance,
--Joe