SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member a_youngers's Avatar
    Join Date
    Sep 2003
    Location
    Seattle
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    browser detect to call css???

    Does anyone know a small, but reliable browser detection script and how to set it up to call a different style sheet for each browser and notify the user if their browser is out of date?

    Adam

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Why not use a few clever CSS hacks like @import to call the right stylesheets? Otherwise if Javascript is disabled the user will get no styles at all.

  3. #3
    SitePoint Member a_youngers's Avatar
    Join Date
    Sep 2003
    Location
    Seattle
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by vgarcia
    Why not use a few clever CSS hacks like @import to call the right stylesheets? Otherwise if Javascript is disabled the user will get no styles at all.
    Thanks for the tip, but after some more tweaking, I found a way to make a single style sheet that works in both.

  4. #4
    ********* Janitor levik's Avatar
    Join Date
    Jan 2003
    Location
    New York
    Posts
    885
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know that it's been a huge issue in the past. (Especially for NS4) but with the two major browsers of today being IE and Mozilla, I find that having separate browser-specific stylesheets is no longer neccessary.


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
  •