ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ruppert <tim.rupp...@hotwaxmedia.com>
Subject Re: IE CSS hacks
Date Fri, 04 Aug 2006 20:47:50 GMT
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.
>   

Mime
View raw message