• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

[CSS] Help needed...

AdamJ

When's 1999?
NLC
Hello. I currently have this:

HTML:
.middle {
   float: left;
   width: 59%;
   margin: 0 10px;
   padding: 1% 1%;
   text-align: left;
}

Which looks like this when in the HTML page:
http://img138.imageshack.us/img138/5973/screenat8.jpg


Right, my question,
How can I get it so the text inside the DIV tags
HTML:
<div class="middle"></div>
goes all over the page, instead of just that little?



Thanks,
Adz :)
 
Code:
.middle {
   float: left;
   width: 59%;
   height: 100%;
   margin: 0 10px;
   padding: 1% 1%;
   text-align: left;
}
 
Try adding a fixed height to the container... Or just put it 100%.

Code:
.middle {
   float: left;
   width: 100%;
   height: 100%;
   margin: 0 10px;
   padding: 1% 1%;
   text-align: left;
}

Thanks to Spritza, I changed it to 100% and it works fully now :D +rep granted to you!
 
Back
Top