Closed (works as designed)
Project:
Composite Layout
Version:
6.x-1.0-beta7
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
4 Apr 2009 at 21:08 UTC
Updated:
21 Sep 2009 at 01:59 UTC
Hi,
I am using a 2-column layout to show one node and one block.
In Firefox looks fine but in IE the second column is displayed below the first.
See the frontpage of www.humanitariantimber.org
(note, I am trying to fix this by installing panels instead as this is a live site so you may not see the problem!)
Thanks - module looks good.
Comments
Comment #1
lejon commentedsorry, title read wrong...
Comment #2
bengtan commentedHi,
Sorry, I need more information. What version of IE?
I need to have a look at a url which exhibits this behaviour. Can you supply such a page? I can't diagnose simply on descriptions, because IE can break for any number of reasons.
Comment #3
lejon commentedHere's a test page:
http://www.humanitariantimber.org/content/composite-test-page
Problem is in IE7.
Thanks!
Comment #4
bengtan commentedHi,
Okay, I see it. It's an IE7 bug. Here's a quick workaround:
In the file .../modules/composite/theme/composite-layout-twocol.css, change lines 17-24 from:
to
In other words, change both width values to 49.9%.
Or if your theme has conditional stylesheets for IE, place the following in your equivalent of ie.css:
.composite-twocol .composite-column {
float: left;
width: 49.9%;
}
IE6 and IE7 both have a bug with floats where if the columns fit 'exactly', IE miscalculates and thinks the columns don't fit, hence sending one to the next 'line'.
There is a workaround for IE6 (the '* html .composite-twocol .composite-column' declaration) but IE7 isn't picking that up.
Comment #5
lejon commentedthanks - will the workaround be included in the next release?
Comment #6
bengtan commentedNot sure, but I'll try.
Comment #7
uncucha commented