I need a script that will detect the user's browser and use the appropriate stylesheet that determines position of my form. (I am using a background image for my form, and the inputs need to line up correctly.) All the browsers are rendering pos differently.
Can anyone lend a hand?
Tried to use the code at thread216-936436 that dwarfthrower suggested:
but clearly I'm missing some pieces.
Thanks!
Can anyone lend a hand?
Tried to use the code at thread216-936436 that dwarfthrower suggested:
Code:
if (browser != "Internet Explorer")
{
document.write('<link href="ie.css" rel="stylesheet" type="text/css">');
}
else
{
document.write('<link href="firefox.css" rel="stylesheet" type="text/css">');
}
but clearly I'm missing some pieces.
Thanks!