I made a nice little webpage with a linked stylesheet and it works fine in Mozilla Firebird, but IE is ignoring the stylesheet and I can't see what's wrong. Here's what the code looks like:
<html>
<head>
<title>IE .css test</title>
<link type="text/css" rel="stylesheet" href="mystyle.css">
</head>
<body>
unformatted text<br><br>
<mystyle>formatted text</mystyle>
</body>
</html>
And the stylesheet contains:
mystyle {
color: #ff0000;
font-size: 20.0pt;
}
Again, this works fine in Mozilla, with the second line in large red text. But in IE, all the text is unformatted. What have I done wrong?
Thanks,
Stu Greene
<html>
<head>
<title>IE .css test</title>
<link type="text/css" rel="stylesheet" href="mystyle.css">
</head>
<body>
unformatted text<br><br>
<mystyle>formatted text</mystyle>
</body>
</html>
And the stylesheet contains:
mystyle {
color: #ff0000;
font-size: 20.0pt;
}
Again, this works fine in Mozilla, with the second line in large red text. But in IE, all the text is unformatted. What have I done wrong?
Thanks,
Stu Greene