Submit Your Article Forum Rules

Results 1 to 5 of 5

Thread: Multiple css for multiple browsers/ platforms

  1. #1
    Senior Member slideri812's Avatar
    Join Date
    Nov 2004
    Posts
    126

    Multiple css for multiple browsers/ platforms

    Hi all,

    I have used a browser sniffer before to detect and load the correct CSS depending ont he browser.

    So I have this project I'm working on: http://www.dcvistudios.com/vaees/

    The problem is that the CSS for Firefox works great on the MAC but looks just as bad on FF PC as does the current IE PC CSS. What am I missing? Most of the time CSS fo FF works great on PC or MAC but not this time.

    Any help is welcomed. Maybe a different sniffer, maybe more CSS sheets. I have been lost in this for 2 days now and I just don't know!

    Thanx in advance!
    Every journey begins with the fisrt step.

    We're not just building websites…
    We're building relationships!

    Visit us www.dcvistudios.com

  2. #2
    Senior Member bj's Avatar
    Join Date
    Apr 2005
    Posts
    1,171
    Did you fix this? It looked okay in FF Win.

    My personal opinion is that you are setting yourself up for a world of hurt doing things the "bad old way" by browser sniffing. Develop for Firefox (or any of the other compliant browsers that get it right or mostly right) then fix for IE by feeding IE the hacks by use of either conditional comments or expressions. It keeps your stylesheet pretty clean and simple and futureproofs your development efforts.

  3. #3
    Senior Member DrTandem1's Avatar
    Join Date
    Oct 2003
    Posts
    1,828
    It looked fine to me also. I checked and it does validate. Maybe you have already corrected the issue?
    DrTandem's San Diego Web Page Design, drtandem.com

  4. #4
    Senior Member slideri812's Avatar
    Join Date
    Nov 2004
    Posts
    126
    Thanx you guys.

    Yeah, I follow the method BJ explains already. What I wanted to do was seperate the hacked up CSS file from the functional and compliant CSS and direct the browsers accordingly. I think I have it licked. I gotta say (again) IE CSS support sucks. I hacked out the CSS for FF in about and hour, it looked good and worked well. It took me two days to hack it up for IE. Go figure!
    Every journey begins with the fisrt step.

    We're not just building websites…
    We're building relationships!

    Visit us www.dcvistudios.com

  5. #5
    Senior Member slideri812's Avatar
    Join Date
    Nov 2004
    Posts
    126
    Thnax guys,

    I'm such a dope. I use my MAC all the time and rarely does the PC see the light of day. Well, I believe I found my issue, FF on my PC was in need of an update. Now everything looks like it should to me. Thanx guys!
    Every journey begins with the fisrt step.

    We're not just building websites…
    We're building relationships!

    Visit us www.dcvistudios.com

Similar Threads

  1. Multiple Merchant Accounts for Multiple Stores?
    By Marc Bowker in forum eCommerce Discussion Forum
    Replies: 13
    Last Post: 08-31-2007, 09:52 AM
  2. How to build multiple CSS style sheets for Different Browsers.
    By TheBrownRecluse in forum Graphics & Design Discussion Forum
    Replies: 6
    Last Post: 06-15-2007, 05:02 PM
  3. Testing in different browsers and platforms
    By pagetta in forum Graphics & Design Discussion Forum
    Replies: 2
    Last Post: 01-12-2005, 06:45 AM
  4. Browsers as Test Platforms
    By WPW_Feedbot in forum Graphics & Design Discussion Forum
    Replies: 0
    Last Post: 12-14-2004, 04:14 PM
  5. Multiple Browsers Window Injection Vulnerability
    By mushroom in forum Internet Security Discussion Forum
    Replies: 0
    Last Post: 12-09-2004, 12:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •