SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict artemis's Avatar
    Join Date
    Sep 2003
    Location
    London
    Posts
    295
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Separate stylesheet for IE on the Mac

    I have used the code below to use different styleseets for NN and IE

    <!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="wltdie.css" />
    <![endif]-->
    <!--[if IE 5]>
    <link rel="stylesheet" type="text/css" href="wltdie.css" />
    <![endif]-->
    <![if ! gte IE 5]>
    <style type="text/css">
    <!--
    @import url("wltdnn.css");
    -->
    </style>
    <![endif]>

    I also need to create a separate stylesheet for IE on the Mac.

    Does anybody know how I do this?

    Thanks

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,549
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Use this:
    Code:
     /*\*//*/
      @import "ie5mac.css";
    /**/ 
    More info here:

    http://stopdesign.com/examples/ie5mac-bpf/

    Paul

  3. #3
    SitePoint Addict artemis's Avatar
    Join Date
    Sep 2003
    Location
    London
    Posts
    295
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you hadn't included the link I would have thought that you where winding me up, but it works perfectly. Thanks a lot.

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,549
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    lol - it looks a bit like that doesn't it

    But it all makes sense in the end


Bookmarks

Posting Permissions

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