May 28, 201016 yr Good evening everyone, So basically I've been fighting with this page and losing epically. My problem is that the wrapper DIV has a background of red at the moment and as you can see it only goes as far as the content. You can see from the code that I have given 100% heights to all object the wrapper is embedded in but I still can't seem to get the red background of the wrapper to go all the way to the bottom of the page. Any help anyone can offer would be very much appriciated. My page
May 28, 201016 yr #container should be red, not #wrapper and then you don't need min-height: 100%; in #wrapper. #container { background-color: red; position: relative; min-height: 100%; margin-bottom:-57px; } #wrapper { margin: 0px auto 0px auto; /*background-color: #262C2F; background-image:url(Images/Design3.0/images/wrapperbg.jpg); background-repeat:repeat-y; */ padding: 30px 55px 0px 55px; /*background-color: red;*/ width: 960px; /*min-height:100%;*/ }
May 28, 201016 yr Author Ahh, yeah I see your point. I did it that way because the footer sits below the container. Is there no way to make the wrapper div behave?
May 30, 201016 yr I have had a few problems with this too when ive done projects for clients. I mostly tried to work around this and try and avoid it where possible because i couldn't get it to be cross browser compatible.
Create an account or sign in to comment