QUOTE(michele.martin @ 27 Aug, 2008 - 10:12 AM)

I am trying to link my html page to my css page and they don't work at all. I have the link code in the heading and it is linked to the css page.
Do both pages have to be linked to each other for them to work. Tried it both ways but nothing changes.
Was wondering if it had to do with using notepad to do all my work in. I have tried linking a background image to the html page and nothing works at all. Not sure if I am overlook the smallest detail.
Can someone point me in the right direction
Thanks,
This is the code for my html page....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My first web page</title>
<link rel="stylesheet" href="web.css" type="text/css">
</head>
<body>
</body>
</html>
This is the code for my css page... Didn't know if both links have to be on it.. tried it both ways still not working...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background-image; url(images/dragster.jpg);
background-repeat; no-repeat;
background-position: left top;
}
QUOTE(michele.martin @ 27 Aug, 2008 - 10:12 AM)

I am trying to link my html page to my css page and they don't work at all. I have the link code in the heading and it is linked to the css page.
Do both pages have to be linked to each other for them to work. Tried it both ways but nothing changes.
Was wondering if it had to do with using notepad to do all my work in. I have tried linking a background image to the html page and nothing works at all. Not sure if I am overlook the smallest detail.
Can someone point me in the right direction
Thanks,
This is the code for my html page....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My first web page</title>
<link rel="stylesheet" href="web.css" type="text/css">
</head>
<body>
</body>
</html>
This is the code for my css page... Didn't know if both links have to be on it.. tried it both ways still not working...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background-image; url(images/dragster.jpg);
background-repeat; no-repeat;
background-position: left top;
}