Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java serves CSS to diff'nt browsers
Name: robber2 Date: November 9, 2004 at 16:22:26 Pacific OS: w xp CPU/Ram: 2 gig celeron, 256 MB
Comment:
Somewhere I saw a way to include Java script in a web page to serve a different .css file (stylesheet) to different browsers (to try to sidestep various browser specific bugs). Does anyone know how to do that? Thx!
Name: Dr. Nick Date: November 9, 2004 at 16:39:17 Pacific
Reply:
I would imagine you could easily do it with any server-side scripting language. It's all a matter of finding the browser of the user and writing the correct code to the browser.
Just put that in place of your normal LINK> tag for the CSS file. If you don't want to do that you could also put it inside a function in the HEAD tag and change the HREF value of that LINK tag once the page has loaded.
Summary: Hello. What i want to is create many .css file for a webpage (It is a intranet site) with diffrent colour schemes, (i am fine on this). But i want to know how to give the use the option to apply diffr...
Summary: Hello. What i want to is create many .css file for a webpage (It is a intranet site) with diffrent colour schemes, (i am fine on this). But i want to know how to give the use the option to apply diffr...
Summary: the ip address in ipconfig and http://www.cmyip.com/ are the same.... did wat u said..changed it STILL DOESNT WORK :( here is my httpd.conf file... and this is the name at free no-ip.com http://scifi...