Results 1 to 3 of 3

Thread: if ie use ie.css if safari use safari.css

  1. #1
    Join Date
    Aug 2007

    if ie use ie.css if safari use safari.css

    I am designing a web site for mobile phones and I want the site to look good across all platforms. so I have a css for Iphone/Android/smartphones andthen I have a separate style sheet for windows mobile phones. yes this is needed due to images and load times. what I need is if the browser is ie(windows mobile) then I want windows.css if safari then use safari.css

    the below code does not work, have tried many times.
    <!--[if gte IE 6]>
    <link rel="stylesheet" type="text/css" href="iespecific.css" />

    thanks for the help

  2. #2
    Join Date
    Dec 2008
    Denver, Colorado
    The syntax is correct for targeting ie browsers...

    Last edited by 6StringGeek; 02-27-2009 at 02:17 PM.

  3. #3
    Join Date
    Aug 2007
    thank you for that link. I have tried stuff like the media="only screen and (max-device width:480px)" but the iphone I am testing on will not read the css in that <link> and all paths are correct.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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