Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
layout.css
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Jun 2009 at 21:35 UTC
Updated:
23 Aug 2011 at 12:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedHi
This problem occurs in IE 7 as well.
I believe it is caused by the clear fix solution (http://www.positioniseverything.net/easyclearing.html) used in zen not being compatible with IE when the DOCTYPE is strict.
Using the more recent technique for clearing floats (http://www.quirksmode.org/css/clearing.html) seems to work ok in IE 7.
The fix:
cheers
Nigel
Comment #2
thisgeek commentedIn IE6, your fix successfully clears the footer, but now everything in the main-inner div has disappeared. The culprit appears to be width: 100%. For those following along at home, keep in mind that the default zen theme uses the liquid layout, not the fixed layout.
I'm looking into it. Comments welcome.
Comment #3
thisgeek commentedI'm having some success putting your CSS in the main div, and not the main-inner div.
That makes it:
(Note: position: relative; was already in the zen css. I did not add it.)
I will test this in other browsers as soon as I get a chance.
Comment #4
thisgeek commentedHere's a quick diff file for the change. I'll follow up tomorrow with some info I collected this afternoon.
Comment #5
thisgeek commentedIt appears to work in Opera 9.64, Chrome 2, Chrome 3 (the developer release for Mac), Firefox 3.0.10, Safari 4, IE6, and IE7. Disclaimer: My testing was hardly rigorous. I just fired up most of the browsers in my office for a quick look.
Comment #6
thisgeek commentedComment #7
jon nunan commentedIt worked for me, adding it to just #main fixed my layout bug.
Though I had a background image on #main-inner which wasn't visible until I added the lines to it as well.
Comment #8
Countzero commentedThe correction worked for IE7, applied to a fixed layout subtheme.
Thanks a lot.
Comment #9
thisgeek commentedComment #10
grub3 commentedI could apply this patch safely and test using IE6.
For the little story, I discovered this bug in a client office while demonstrating a custom theme under IE.
The header and the footer were like stuck on the first quarter of a page.
Hopefuly, I could demonstrate the site on my GNU/Linux laptop.
Thanks for the patch.
Comment #11
grub3 commentedJust a quick note that this patch also fixes positioning of header.
Comment #12
RedTop commentedPatch helped me out after struggling for half day to get IE6 to behave nicely. As instructed above I just had to add:
Thanks a lot!
(I only tested this on IE6 and FF3.6 as I just found this thread.)
Comment #13
johnalbinI cannot reproduce this. IE6's footer clears just fine as long I'm using one of the Drupal solutions for the IE 31 stylesheet limit.
I suspect that is your issue. Please see http://john.albin.net/css/ie-stylesheets-not-loading
I need to add that to the README file.
Comment #14
johnalbinDocs added in #256802: IE limits Drupal to 31 stylesheets total
Comment #16
Marko B commentedTry putting in performance section, CSS to optimize, that should make IE sytlsheet no problem dissapaer and fix this footer problem.