[resolved] how to load a Windows-only stylesheet? (2 posts)

  1. photocurio
    Posted 2 years ago #

    I have a site that looks different on Windows browsers from Mac browsers. It is not a IE issue. Chrome, Firefox and IE on a PC all show my site one way. Safari, Chrome and Firefox on a mac show it a different way. I've never seen this before.

    I need a conditional statement that checks the user agent, and if its Windows loads a stylesheet Or, even better, it could insert class="windows" into the <html> tag.


  2. Andrew
    Moderator of Puppies
    Posted 2 years ago #

    Look at using the browser detect javascript function

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.