LT LLC
05-29-2003, 09:25 PM
As you know, there are a lot of browser compatibility problems with CSS. Is there a way I could set it up whereby the browser will automatically download a different CSS external style sheet upon detection? If so, I have the following questions:
1) What is the code that goes in the head that detects the OS/browser and then selects the correct stylesheet?
2) The following code works for me in Mac 0S9 plus ie 5.5. It doesn't seem to work in XP with ie 6.0.
Can anyone tell me how I would write it for different OS's and browsers?
body {
background-color: #A1FDD6;
font: 11px/16px Verdana, Geneva, Arial, Helvetica, sans-serif, Osaka;
color: #333333;
padding: 0px;
margin: 10px;
width: 100%;
height: 100%;
}
Thanks!
1) What is the code that goes in the head that detects the OS/browser and then selects the correct stylesheet?
2) The following code works for me in Mac 0S9 plus ie 5.5. It doesn't seem to work in XP with ie 6.0.
Can anyone tell me how I would write it for different OS's and browsers?
body {
background-color: #A1FDD6;
font: 11px/16px Verdana, Geneva, Arial, Helvetica, sans-serif, Osaka;
color: #333333;
padding: 0px;
margin: 10px;
width: 100%;
height: 100%;
}
Thanks!
