Hi,
I'm using the IE recognized conditional statement to use an IE specific stylesheet for IE browsers:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Touringhouse</title>
<link type="text/css" rel="stylesheet" href="css/mainstyle.css" media="screen">
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="css/iemainstyle.css" media="screen">
<![endif]-->
When I test my files locally this causes IE to use the specified stylesheet while other browsers use the standard stylesheet and everything appears as it should.
However, when I upload the files for viewing online, everything works in Firefox and other standards compliant browsers that use the standard (mainstyle.css) stylesheet but IE also uses the same stylesheet (mainstyle.css) - it no longer seems to see the iemainstyle.css stylesheet. I've double checked all the code and the online folder structure - it's identical to what I have locally - the iemainstyle.css file lives in the css folder alongside the mainstyle.css stylesheet. I'm not sure what's causing IE (6 and 7) to ignore the IE specific stylesheet. Thanks in advance for any help sorting this out.