WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. photocurio
    Member
    Posted 1 year 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.

    Anyone?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Look at using the browser detect javascript function
    http://www.quirksmode.org/js/detect.html

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.