Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    2
    Member #
    20520
    Hi,
    I have a site where I would like to improt a different CSS file for IE6, as the css I have works OK in other browser.

    Is there a way (script or something) that would allow me to import a different css based on the browser that accesses the page.
    Thanks

  2.  

  3. #2
    Junior Member
    Join Date
    Dec 2009
    Posts
    2
    Member #
    20520
    OK.
    I found it.

    it should be

    <!--[if IE]>
    <style>
    .item {
    margin: 5px;
    padding: 10px;
    }
    </style>
    <![EndIf]-->

  4. #3
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    Also, you can specify which version of IE you would like the conditional statement for.

    - Microsoft's lengthy explanation
    - A simpler explanation


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:19 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com