To work around IE style bugs, I use conditional includes to pull in specific style sheets: <!--[if IE]><link rel="stylesheet" type="text/css" href="css/iebugfix.css"><![endif]--> <!--[if IE 5]><link rel="stylesheet" type="text/css" href="css/ie5bugfix.css"><![endif]--> <!--[if IE 5.0]><link rel="stylesheet" type="text/css" href="css/ie50bugfix.css"><![endif]--> <!--[if IE 5.5]><link rel="stylesheet" type="text/css" href="css/ie55bugfix.css"><![endif]--> <!--[if IE 6]><link rel="stylesheet" type="text/css" href="css/ie6bugfix.css"><![endif]-->
To check how the code looks in all browsers, I use browsercam.com (screenshots in 12 browsers, 5 OS, 3 screen resolutions). I also try to break out the CSS1 styles so I can see what it looks like with only CSS1 working. Rick DeBay On Sun, 22 Feb 2004 13:35 , Adam Hardy <[EMAIL PROTECTED]> sent: >I just found out that my wonderful new CSS design looks complete rubbish >in Netscape 4 and in IE5 on Macs, so I'm thinking of checking the user's >user-agent request header to find out whether they can handle the style >sheet I've written. > >I'm thinking of writing a tag to do this and to output the whole style >sheet HTML link tag or not. > >I did check on jakarta to see whether one existed already, but all I >found was the request taglibrary, which would have to be combined with >some logic tags to achieve what I want. > >Am I right that this doesn't exist? > >Thanks >Adam >-- >struts 1.1 + tomcat 5.0.16 + java 1.4.2 >Linux 2.4.20 Debian --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
