J
Justin Ezequiel
I am running "python -m SimpleHTTPServer 80" on Windows XP Pro SP 3
(Python 2.5.4)
browsing http://localhost/ using IE8 and FireFox 3.6, I get blue text
on red background
on Google Chrome 6.0 however, I get blue text on white background
placing index.htm and styles.css (see below) under IIS, I get blue
text on red background for all browsers,
including Google Chrome 6.0.
I get exactly the same results when browsing from another machine.
what's wrong? what do I need to change in SimpleHTTPServer?
index.htm
--------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>your title</title>
<meta http-equiv="Content-Type" content="text/
html;charset=ISO-8859-1">
<link rel="stylesheet" href="styles.css" type="text/css">
<style type="text/css">
body {
color: blue;
}
</style>
</head>
<body><p>foo bar</p>
</body>
</html>
(Python 2.5.4)
browsing http://localhost/ using IE8 and FireFox 3.6, I get blue text
on red background
on Google Chrome 6.0 however, I get blue text on white background
placing index.htm and styles.css (see below) under IIS, I get blue
text on red background for all browsers,
including Google Chrome 6.0.
I get exactly the same results when browsing from another machine.
what's wrong? what do I need to change in SimpleHTTPServer?
index.htm
--------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>your title</title>
<meta http-equiv="Content-Type" content="text/
html;charset=ISO-8859-1">
<link rel="stylesheet" href="styles.css" type="text/css">
<style type="text/css">
body {
color: blue;
}
</style>
</head>
<body><p>foo bar</p>
</body>
</html>