• Adept Digital LLC

    (@adept-digital-llc)


    Hello,

    I am certain this question has been answered somewhere, yet I cannot seem to locate the answer. I have a site that I am trying to get compatible on IE 7 & 6. The clients has business contacts using government computers that only use IE 7 & 6 therefore the site must look good there. I have tried to use a conditional statement in the <head> tag that loads in a separate CSS sheet since I do not care for using hacks, the code I am using is this:

    <!–[if lte IE 7]>
    <script link rel=”stylesheet” type=”text/css” href=”http://haynes-assoc.com/wp-content/themes/Haynes/styleIE.css”></script&gt;
    <![endif]–>

    I have used this solution on several other sites, including 2012 theme sites and it worked for them, but not for this.

    I have not really started with writing the code for this since I cannot get even the most basic of alterations to load in properly.

    Also, I am using the Chrome EI tabs emulator to simulate the IE 7 browser behavior because like 99% of the people on the planet I do not have a machine running such antiquated software.

    If anyone has a better method for emulating these ancient browsers, please share.

    The site is at http://haynes-assoc.com/ and I am looking to avoid spending any more time getting this thing to read the styleIE.css file on IE 7 & 6.

    Thanks in advance for any help you can offer.

Viewing 1 replies (of 1 total)
  • Thread Starter Adept Digital LLC

    (@adept-digital-llc)

    Ok,

    I figured out that the emulator on Chrome does not work unless you are viewing the same website in Internet Explorer using Compatability mode. Why bother with the Chrome IE Tab if you are forced to use IE at the same time? What a waste of time that was.

    So the issue persisted and I needed to get this work off my desk so I adjusted the css> ei.css file in the 2012 folder. I will just need to remember to re-upload the altered css every time I update the 2012 theme. What a headache.

    If someone has a better solution to this without all the headache, please let me know. For some reason the conditional statement never worked.

Viewing 1 replies (of 1 total)

The topic ‘CSS in IE 7 & 6’ is closed to new replies.