IE CSS hacks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

IE CSS hacks

cjhowe
The CSS hack I proposed to take care of the peekaboo
bug apparently squishes everything in Firefox
together.  I think it's time to add a conditional
comment that will load an IE only css file.

added to header.ftl around line 37:
    <!--[if IE]>
    <link rel="stylesheet"
href="<@ofbizContentUrl>/images/hack.css</@ofbizContentUrl>"
type="text/css"/>
    <![endif]-->


and
created hack.css
#ecom-mainarea .screenlet-header, #ecom-mainarea
.screenlet-body, #ecom-mainarea .screenlet {
height:1%;
}


If this sounds right, I'll make a patch.
Reply | Threaded
Open this post in threaded view
|

Re: IE CSS hacks

Tim Ruppert
We do a similar hack - with exactly that conditional - to make more than
a few of our sites work.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

Chris Howe wrote:

> The CSS hack I proposed to take care of the peekaboo
> bug apparently squishes everything in Firefox
> together.  I think it's time to add a conditional
> comment that will load an IE only css file.
>
> added to header.ftl around line 37:
>     <!--[if IE]>
>     <link rel="stylesheet"
> href="<@ofbizContentUrl>/images/hack.css</@ofbizContentUrl>"
> type="text/css"/>
>     <![endif]-->
>
>
> and
> created hack.css
> #ecom-mainarea .screenlet-header, #ecom-mainarea
> .screenlet-body, #ecom-mainarea .screenlet {
> height:1%;
> }
>
>
> If this sounds right, I'll make a patch.
>