- Moderated by:
- Support Team
-
- rank:
-
Softmore
- registered:
- April 2005
- Status:
- offline
- last visit:
- 21.10.08
- Posts:
- 62
I found a template I want to use and it has this in the header:
Code
<!--[if lte IE 6]>
<style type="text/css">
.clearfix { height: 1%;}
</style>
<![endif]-->
<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix { display: inline-block;}
</style>
<![endif]-->
Of course that just gives an error. Has anyone got an idea of how to make that work properly.
Thanks in advance -
- rank:
-
Professional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 21.11.08
- Posts:
- 2975
Code
<!--[if lte IE 6]-->
<style type="text/css">
.clearfix { height: 1%;}
</style>
<!--[/if]-->
<!--[if gte IE 7.0]-->
<style type="text/css">
.clearfix { display: inline-block;}
</style>
<!--[/if]-->
edited by: AmmoDump, Oct 02, 2007 - 08:37 PM
--
David Pahl
Zikula Support Team -
- rank:
-
Helper
- registered:
- March 2007
- Status:
- offline
- last visit:
- 07.11.08
- Posts:
- 143
Code
<!--[literal]--><!--[if lte IE 6]><!--[/literal]-->
<style type="text/css">
.clearfix { height: 1%;}
</style>
<!--[literal]--><![endif]--><!--[/literal]-->
<!--[literal]--><!--[if gte IE 7.0]><!--[/literal]-->
<style type="text/css">
.clearfix { display: inline-block;}
</style>
<!--[literal]--><![endif]--><!--[/literal]-->
Try something like that ;)
edited by: Starguezer, Oct 03, 2007 - 08:05 AM
--
-
- rank:
-
Helper
- registered:
- March 2007
- Status:
- offline
- last visit:
- 07.11.08
- Posts:
- 143
