I just started with CSS pretty much today. For the site I am learning on I have a header, content, footer, and left. Left being the menu. Heres the style for the left div.left { background-color: #455372; float:left; text-align: top; width:160px; margin:0; padding:1em; } PHP: Heres where I display the left. <div class="left"> <p><a href="http://www.dbseller.com/jokes/">Home</a> </p> </div> PHP: Now on www.dbseller.com/jokes/ I want the background color to go all the way down to the footer on all pages. It works fine on Firefox on the homepage. Any ideas on how I can do this? Thanks
I am new to css as well but try this: div.content { margin-left:190px; height: 100%; border-left:1px solid gray; padding:1em; } But check different browsers. I notice you already have a drastic visual difference in firefox and IE.
Didnt work for me. If I add the 100% in the left Div then it will stretch it some more but it doesnt reach the footer.
It works in Firefox but not in IE. I know I have seen many people have problems with getting the footer to the bottom. I am sure there is someone on here with a lot more experience that can help you. good luck.