Hi,
I've been doing some IE6 rendering fixes for WHO today and one of the
biggest problems is what looks like to be the slightly excessive usage
of "easy clearing"
(http://www.positioniseverything.net/easyclearing.html). I say slightly
excessive because it really should only be used when the element has
children which are floated. I've actually never seen this method of
clearing floats cause issues like this, but it's causing havoc in IE6
with Bricolage.
Issues like this are a real pain to get to the root of, but the solution
I've found just works (and is the reason I'm hesitant to commit it).
The patch is attached below.
A few notes:
- I just removed the IE-mac cruft (horribly old and unsupported browser).
- Used a new IE6/7 star hack (*height) instead of the * html one.
- Undo the clearing class hack for the clearboth class for IE6 which is
the one that seems to be causing problems.
The problem I see with this is that if someone uses the clearboth class,
IE6 doesn't get it. I already see one place where it's used and is
needed (the field names inside the container on the story profile page),
but from what I can see, it seems to fix more than it breaks.
What do you guys think?
Adrian
Index: comp/media/css/style.css
===================================================================
--- comp/media/css/style.css (revision 8532)
+++ comp/media/css/style.css (working copy)
@@ -889,27 +889,10 @@
.desk_item .head,
form .row,
.paginate,
-.viewmeta { display: inline-block;}
-/* Hides from IE-mac \*/
-* html .clearboth,
-* html .desk-top,
-* html .desk .item,
-* html .desk .item .head,
-* html .desk .item .actions,
-* html .desk_item .head,
-* html form .row,
-* html .paginate,
-* html .viewmeta {height: 1%;}
-.clearboth,
-.desk-top,
-.desk .item,
-.desk .item .head,
-.desk .item .actions,
-.desk_item .head,
-form .row,
-.paginate,
-.viewmeta {display: block;}
-/* End hide from IE-mac */
+.viewmeta { *height: 1%; }
+.clearboth {
+ _height: auto;
+}
/* double list manager. */
table.dlman select { width: 40em; } /* IE-specific setting */
I've been doing some IE6 rendering fixes for WHO today and one of the
biggest problems is what looks like to be the slightly excessive usage
of "easy clearing"
(http://www.positioniseverything.net/easyclearing.html). I say slightly
excessive because it really should only be used when the element has
children which are floated. I've actually never seen this method of
clearing floats cause issues like this, but it's causing havoc in IE6
with Bricolage.
Issues like this are a real pain to get to the root of, but the solution
I've found just works (and is the reason I'm hesitant to commit it).
The patch is attached below.
A few notes:
- I just removed the IE-mac cruft (horribly old and unsupported browser).
- Used a new IE6/7 star hack (*height) instead of the * html one.
- Undo the clearing class hack for the clearboth class for IE6 which is
the one that seems to be causing problems.
The problem I see with this is that if someone uses the clearboth class,
IE6 doesn't get it. I already see one place where it's used and is
needed (the field names inside the container on the story profile page),
but from what I can see, it seems to fix more than it breaks.
What do you guys think?
Adrian
Index: comp/media/css/style.css
===================================================================
--- comp/media/css/style.css (revision 8532)
+++ comp/media/css/style.css (working copy)
@@ -889,27 +889,10 @@
.desk_item .head,
form .row,
.paginate,
-.viewmeta { display: inline-block;}
-/* Hides from IE-mac \*/
-* html .clearboth,
-* html .desk-top,
-* html .desk .item,
-* html .desk .item .head,
-* html .desk .item .actions,
-* html .desk_item .head,
-* html form .row,
-* html .paginate,
-* html .viewmeta {height: 1%;}
-.clearboth,
-.desk-top,
-.desk .item,
-.desk .item .head,
-.desk .item .actions,
-.desk_item .head,
-form .row,
-.paginate,
-.viewmeta {display: block;}
-/* End hide from IE-mac */
+.viewmeta { *height: 1%; }
+.clearboth {
+ _height: auto;
+}
/* double list manager. */
table.dlman select { width: 40em; } /* IE-specific setting */