CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 21st, 2004, 05:15 AM
D-flyer D-flyer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 261 D-flyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 6 h 18 m
Reputation Power: 8
CSS fot mac and pc platform

Hi all,

Just made a tables site runs oke on a pc but not on a mac.

So now i want to create a mac-css. How can i include the right css-file based on an user platform?????

Javascript or php??

Reply With Quote
  #2  
Old April 21st, 2004, 08:27 AM
jbot's Avatar
jbot jbot is offline
a rootin', tootin', shootin'
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Feb 2004
Location: location.href="hame"
Posts: 3,475 jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 11 h 55 m 52 sec
Reputation Power: 94
javascript:

alert(navigator.platform) ;

Reply With Quote
  #3  
Old April 21st, 2004, 08:40 AM
D-flyer D-flyer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Posts: 261 D-flyer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 6 h 18 m
Reputation Power: 8
thnx,

Found a way to do it with php.

see article

Reply With Quote
  #4  
Old April 21st, 2004, 09:10 AM
jbot's Avatar
jbot jbot is offline
a rootin', tootin', shootin'
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Feb 2004
Location: location.href="hame"
Posts: 3,475 jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level)jbot User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 11 h 55 m 52 sec
Reputation Power: 94
the only downside is that some browsers can spoof others, eg Opera can pretend to be IE or Moz. You can only eschew this bu using Javascript object detection:

Code:
if (document.all && document.getELementById && !document.layers) isIE = true ;
if (!document.all && document.getELementById && !document.layers) isMoz = true ;
if (document.all && document.getELementById && document.layers) isOp = true ;


kapiche?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS fot mac and pc platform


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT