Date: 01/25/09 (Web Development) Keywords: php, browser I use php includes for the menus on my site. Some have one, some have two. Anyway, I decided to declare a body background on my style sheet, then surround all of the pages in a div (id = content) that has a white background. That worked just fine. The problem now is that the pages don't extend to the bottom of the browser. I realize this can be remedied with height: 100% in conjunction with min-height: 100%. I tried this, and it worked. The problem is that I can't put that in the body section of the style sheet, because then it makes EACH document 100% of the browser (200% to 300% total). I tried applying the height to the content div instead, but that didn't work. I hope my explanation wasn't too confusing! Please let me know of a way around this so that the divs take up the remainder of the browser height after the php includes. Thanks!
|