PHP Includes and Height (CSS Question)

    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!

    Source: http://community.livejournal.com/webdev/519327.html

« Firefox / CSS / JavaScript... || Problems installing PHP on IIS »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home