Oops, I misread the OP and now I can't delete this! Well, if people want to avoid the problems that you are talking about, clint
, I might as well leave it, haha, fu#*.
I am not sure here what you are actually asking. If it is your own site, you just use a CSS file that renders your pages properly for each browser, and that, in turn, is called on the basis of the user agent string, or browser identity.
You can also code one CSS file that have the <-- if [IE6]> stuff that bloody doesn't make sense but works on IE6 <![endif]--> conditional comments, like so:
Code:
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->
Explanation at quirksmode: Conditional comments.
Wait, I used google and found this site, it shows how to use conditionals for every browser, and then some. It's going into my favorites right now:
http://www.conditional-css.com/advanced
You can also use mod_rewrite, and in fact, this is among the first ten returns for the search terms browser+redirect+.htaccess :
http://evansims.com/6032/using-htacc...lete-browsers/ ,
but I can deduce from this page on "modern mobile browser redirects" that you can just request the browser agent user string outright, and redirect to different pages from that:
Code:
RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC]
RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302]
Actually, that page is going into my favorites, also, but then I think, "Why bother? Just google it whenever!"
Sheesh!
Actually, there is something I used to use when checking my own sites, called optool, and it runs in the system tray (beside the clock in the task bar).
Not sure if it works on x64 windows, but you just click it and a menu pops up with a list of your browsers you can click on to open the url from your open browser. Yes, I think we are on to something here:
Do you sometimes land on a page that doesn't work in your favorite browser? Or do you want to check your web creation in other browsers? Well, then Optool is for you!
Optool cannot only open different browsers, it can also on your choice close the currently open browsers. No problem if you suddenly find your desktop cluttered with just too many browser windows. Let Optool close the browser windows your don't need! (It can close other kinds of windows too, BTW!)
Need to resize the browser to check the layout you're developing? Well, Optool can do it for you. Just tell Optool which window sizes you need regularly or stick to the four standard screen sizes already built-in.
Do you ever find yourself stuck somewhere deep down a web site with no "home" link? Optool can navigate the browser to the root (home page) or just one level up. It can even go to the domain root (like www.google.com instead of images.google.com).
Ever needed a internet shortcut on the desktop or somewhere else? Optool can make it from any supported browser!
I just tested it on Win7 x64 and it works flawlessly. My Kingsoft PC Doctor freaked out on me, and even removed the install.exe file, but I know it is safe, it doesn't install to registry, it is a standalone app.
I'm gonna keep it, I hate sites that don't work properly, either!
The only problem I noticed is that it couldn't read the url from FF with other tabs open, but I opened Chrome and used that page to open IE9. You can configure this little baby for as many browsers as you want, so if you have different versions of IE installed, or standalone, you can use them with optool.
It's a decent little program! HTH