Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
IE style tags is Xanrhia template
  • Posted: 03.10.2007, 05:38
     
    autoresponse
    rank:
    Softmore 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
  • Posted: 03.10.2007, 06:36
     
    AmmoDump
    rank:
    Professional 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
  • Posted: 03.10.2007, 13:05
     
    Starguezer
    rank:
    Helper 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

    --
  • Posted: 03.10.2007, 13:32
     
    autoresponse
    rank:
    Softmore Softmore
    registered:
     April 2005
    Status:
    offline
    last visit:
    21.10.08
    Posts:
    62
    Thanks to both of you for replying. Starguezer, I knew I had seen that somewhere but there are times when my eyes just glaze over and the bleeding obvious just gets lost. Thanks.
  • Posted: 03.10.2007, 15:27
     
    Starguezer
    rank:
    Helper Helper
    registered:
     March 2007
    Status:
    offline
    last visit:
    07.11.08
    Posts:
    143
    I've found it 3 days ago on Smarty's forum ;)

    You are welcome

    --

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula