Forum Moderators: open
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="main.css" rel="stylesheet" type="text/css" />
<!--[if IE]><link rel="stylesheet" type="text/css" href="ie.css" /><![endif]-->
</head>
<body>
This will be Blue in most browsers, but Red in IE.
</body>
</html>
body {
color: blue;
}
body {
color: red;
}
#myelement div.myclass {
color: blue;
}
#myelement .myclass {
color: red;
}