0
Welcome Guest! Login
0 items Join Now

SOLVED IE Exception for versatility III

    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    SOLVED IE Exception for versatility III

    Posted 16 years 1 month ago
    • Hello Guys,

      I need help to modify the VIII template only when displayed in IE. I added a position on the top of my template where I will display an ad for Firefox.
      However, when the module is displayed, the background of VIII stay in place and there is a problem with the menu. Then, to solve the problem, I need to use this code only for IE:
      body background:#F4F4F4 url(../images/style15/bg.png) repeat-x scroll 0pt 27px;
      color:#333333;
      }
       
      body
      font-family:Arial,Helvetica,sans-serif;
      line-height:135%;
      padding-top:27px;

      Like you see I added a padding-top for the bg in the code and the template works fine with the new top position enabled.
      I know I must use the IE exception:
      <!--[if IE]><![endif]-->

      My question is where I have to create this exception? I think it's necessary to create an ie.css file first then add the exception code in the index.php of the template. I'm right? So, what is the right code I have to add?

      Hope you will understand what I'm trying to do ! :D

      Thx in advance
    • Last Edit: 16 years 1 month ago by Franck.
  • Re: SOLVED IE Exception for versatility III

    Posted 16 years 1 month ago
    • Versatility 3 already has IE exception code and IE css files, why not just use them?
    • James Spencer / Developer & Support / Hull, UK
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: SOLVED IE Exception for versatility III

    Posted 16 years 1 month ago
    • Hi James!

      There is exception only for ie6 and I need to create an exception for all ie version. I will try to study and understand the exception code but help would be good :D

      Thx
    • Franck's Avatar
    • Franck
    • Elite Rocketeer
    • Posts: 1049
    • Thanks: 0

    Re: SOLVED IE Exception for versatility III

    Posted 16 years 1 month ago
    • It was not very difficult to do :D
      It's working like a charm now, exactly like expected.

Time to create page: 0.051 seconds