Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • chacapamac Friend
    #140080

    I need to separate ( with a conditional call) the css from ie7, ie6 and ie8. This always should be like that as the css can be totally different between them…

    • I think you have already separated ie 8 with the file ie8.css?
    • where is the call for ie8 from the index.php

    But I beleive that you mix ie6 with ie7 in the same file ie.php. (this is not good)
    Now I need to separate or add css file to separate ie6/ie7)

    I will use probably something like:
    <!–>
    <style type=”text/css”>@import ‘/css/ie6.php’;</style>
    <!–>
    <!–>
    <style type=”text/css”>@import ‘/css/ie7.css’;</style>
    <!–>

    Insert that in the index.php

    You have probably a call in index.php to a librairie of calls to cleanup the index.php head (because I do not see any call to ie8.css), should I insert my conditionals there?

    Anonymous Moderator
    #301551

    Hi chacapamac,

    It is not correct.

    Current this template only includes ie.php file for all IEs.

    You can open this file and find comments as:

    /*All IE*/
    /*IE 6*/
    /*IE 7*/
    /*IE 8*/

    And in each block, you can add styles for each versions of IE.

    Please check again.

    chacapamac Friend
    #301566

    You have: ie8.css and ie.php

    I went in ie.php…..

    example:

    <?php
    /*IE 6*/
    if ($iev == 6) {
    ?>

    <?php
    /*IE 7*/
    if ($iev == 7) {
    ?>

    <?php
    /*IE 8*/
    if ($iev == 8) {
    ?>
    Are these conditional…. really apply separatly to each browser?

    I already use separate conditional css file, but if ie.php is conditional I will use it….

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  chacapamac 15 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum