Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS Wont appear when linked externally


alleria21 - 9:31 pm on Oct 31, 2012 (gmt 0)


Hello to all web lovers!
This nasty code here wont link the CSS external file to it (css and html page are in the same folder , having the same problems when trying to link external JS scripts to an html page but that is non relevant for now)

Page Code


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>The First Web Page</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<h1> Niaou</h1>
<hr>
<p>

In the beginning, Tim created the HyperText Markup Language. The Internet<br>
was without form and void, and text was upon the face of the monitor and<br>
the Hands of Tim were moving over the face of the keyboard. And Tim said,<br>
Let there be links; and there were links. And Tim saw that the links were<br>
good; and Tim separated the links from the text. Tim called the links<br>

</p>
</body>
</html>





and...... CSS code
styles.css

body
{
color: blue;
background-color: yellow;
}



tried mozilla + IE 8 but no good for now :/ can you figure out what is possibly wrong with it? im imagining maybe wrong doctype but not sure though....


Thread source:: http://www.webmasterworld.com/css/4514376.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com