Results 1 to 2 of 2

Thread: CSS for different browsers

  1. #1
    Join Date
    Jul 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS for different browsers

    This might be asimple answer, or complicated. I was wondering how you set your CSS template to be different for different browsers?

    I was mainly wondering for my site Seedspace and having it compatible for smart phones.

    Thanks,
    Isaac

  2. #2
    Join Date
    Aug 2009
    Location
    utf-8
    Posts
    205
    Thanks
    4
    Thanked 7 Times in 7 Posts

    Default

    If you want your CSS to work on smart phones, put this in your CSS link:
    Code:
    media="screen"
    It should look like
    Code:
    <link rel="stylesheet" href="your-styles.css" media="screen"/>



    BUT some smartphones tend to ignore that. If thats the case use:
    Code:
    media="handheld"
    Which looks like:
    Code:
    <link rel="stylesheet" href="your-styles.css" media="handheld"/>

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
  •