SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Aug 2006
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Could someone help me with this?

    Due to my problem with inconsistencies between browsers, I have decided to make 3 separate .css files and that, depending on the browser, the correct one is used. However, I have never linked to a separate .css file, nor do I fully know how I would go about directing a browser to a .css. I have searched the web extensively, and what I have found seems to be too hard in its current form. As well, I would require that the three browsers (Safari, Firefox and IE) are included. If someone could help me by writing some code, or just direct me, it'd be appreciated.

    I have already checked these sites:
    http://www.webdeveloper.com/forum/sh...ad.php?t=62789
    http://www.utoronto.ca/ian/books/xht...pt/css-4a.html <-- I think this one is what I should be looking for, but don't quite know how to implement it (or add the Safari browser).

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Creating separate CSS files for multiple browsers isn't a good idea. The only browser you should need separate CSS rules for is IE and you can serve up a stylesheet with IE conditional comments.


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
  •