|
|
|
|
|
|
![]() |
#1 |
If there is nobody out there, that's a lot of real estate going to waste!
Join Date: Dec 2003
Posts: 2,177
|
CSS browser detect question
I was wondering if there is a way to do a browser detect using CSS only. I would prefer to stay away from the JavaScript & calling a different .CSS file as some surfers turn JS off.
Mainly I want to pre-select the default tab for the surfers browser from a tabbed page. |
![]() |
![]() |
![]() |
#2 |
If something's hard to do, then it's not worth doing
Join Date: Sep 2008
Location: Berlin, Germany
Posts: 247
|
Check out this link: http://www.javascriptkit.com/dhtmltutors/csshacks.shtml
Gives you full details on using things like: Code:
<!--[if IE]> <link href="ie_only.css" rel="stylesheet" type="text/css"> <![endif]--> |
![]() |
![]() |
![]() |
#3 | |
That which does not kill us, will try, try again.
|
Something you may want to look into is whether your sponsors have a way to take the money from someone who doesn't have Javascript enabled in their browser.
Try turning it off and visiting a CCBill signup page and entering all of the information need to sign up (use 4444333322221111 as the CC# for this test). See if you can get past the message telling you that you don't have JS turned on. Quote:
Just something to think about. ![]()
__________________
"If you're happy and you know it, think again." -- Guru Pitka |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | Rate This Thread |
|
|