Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2008
    Posts
    7
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Would this work?

    Hay again, still just loving IE, and working on this damn website. I had an idea how to solve my problem with a conditional statement, and I want to know if I should even bother trying it:

    Here is the Head of one of the HTML docs:
    Code:
    <head>
    <title>Sachem North Tech Department Webpage</title>
    <!--[if IE]><link rel="stylesheet" type="text/css" href="iefix.css" /> <![endif]-->
    <link rel="stylesheet" type="text/css" href="stdcss.css" />
    </head>
    Last edited by Muffin_Fox; 11-24-2008 at 04:14 PM.

  • #2
    Regular Coder BoldUlysses's Avatar
    Join Date
    Jan 2008
    Location
    Winston-Salem, NC
    Posts
    938
    Thanks
    10
    Thanked 190 Times in 187 Posts
    Yes, that should work, although I would place the conditional comment after the main stylesheet link, since the goal of the "IE Fix" is to "amend" (i.e. hack) the main stylesheet, and CSS properties cascade:

    Code:
    <head>
    <title>Sachem North Tech Department Webpage</title>
    <link rel="stylesheet" type="text/css" href="stdcss.css" />
    <!--[if IE]><link rel="stylesheet" type="text/css" href="iefix.css" /> <![endif]-->
    </head>
    matt | design | blog


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •