How To Make IE Hacks? Help Please!

Discussion in 'CSS' started by MakingThisSucked, Oct 31, 2010.

  1. #1
    I've got my code for a new eBay description ready to go save a few text drops. It looks good in Safari, Chrome, and Firefox, but IE is throwing some things off in a couple spots. I was thinking i could just change the the padding for one of my images that is getting thrown off in the wrong directly slightly, but if I do, it will throw it off in the other 3 browsers. I've seen people with IE hacks that will allow only IE to read certain code. How do you do that for CSS?

     
    MakingThisSucked, Oct 31, 2010 IP
  2. athen

    athen Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try this way

    <!--[if IE]>
    <link rel="stylesheet" type="text/css" href="ie.css" />
    <![endif]-->

    apply all the styles you want for IE on ie.css file
     
    athen, Oct 31, 2010 IP
  3. MakingThisSucked

    MakingThisSucked Greenhorn

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    I don't think you can link an external stylesheet in an ebay description. I think it has to be internal or inline. Could I do

    <!--[if IE]>
    <style type="text/css">
    ...
    </style>
    <![endif]-->

    Thanks for your help!
     
    MakingThisSucked, Nov 1, 2010 IP