CSS - Div Bleeds If Heght Is 100% Help
Hello,
I'm new to this forum and as "WEB Developer". Actually I'm trying to be My problem is, I'm creating a site that needs to have a column on the left and the heigh is 100% under the logo. I'm trying to do this with CSS and I have a bleed at the bottom and I can not make it work. I need to be 100% so if I resize the window so the left column takes the 100% of the space under the logo. Thanks. this is my HTML Code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link href="css/main.css" rel="stylesheet" type="text/css" /> <title></title> </head> <body> <div id="outerDiv"> <div id="outerCanvas"> <div id="head"> <div id="logo"> Logo </div> <!-- END Logo --> <div id="outerBanner"> words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words words and words and words </div> <!-- END outerBanner --> </div> <!-- END Head --> </div> <!-- END outerCanvas --> </div> <!-- END outerDiv --> </body> </html> CSS Code: body { padding: 0px; margin: auto; font-family: "Lucida Grande", Verdana, Arial; } #outerDiv { position: absolute; max-height: 100%; max-width: 100%; margin: auto; min-height: 575px; min-width: 1024px; height: 100%; width: 100%; background-color: black; } #outerCanvas { margin-left: auto; margin-bottom: auto; margin-right: auto; margin-top: auto; background-color: white; height: 100%; width: 95%; } #head { height: 100%; background-color: #cccccc; width: 200px; } #logo { background-color: #009966; height: 100px; width: 200px; } #outerBanner { height: 100%; width: 200px; background-color: #9999ff; overflow: scroll; } Similar TutorialsHey guys, since the last time I posted, I've made a lot of progress with learning CSS but I'm still having one issue. When I resize my window or I use a smaller resolution, my footer bleeds out into the third column. It doesn't do this with the header, navbar, or text box and I don't understand why. Any help? |