Forum Moderators: not2easy
The style sheet will load using Explorer 6.0 and the newest Explorer but not with Firefox 3.0.7
I added type="text/css" to my link lines after doing some research but it still didn't work.
I used Web Developer with the file and I can load the stylesheet using "Add User Style Sheet"
Here's my header:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Home - M. Machel & Associates Ltd.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="script.js"></script>
<link rel="stylesheet" type="text/css" href="machel.css" media="screen">
<link rel="stylesheet" type="text/css" href="menuv.css" media="screen">
<!--[if lt IE 7]>
<style type="text/css" media="screen">
body{behavior:url(csshover.htc);}
</style>
<![endif]-->
<style type="text/css" media="screen">
<!--
-->
</style>
I validated the html and the css stylesheets and everything passed. the pages failed when i loaded them locally and through my host server.
Using Notepad++ I converted my pages to charset=utf-8 and everything worked.
:))
I just used the regular Windows notepad to create the site and as I said in my first post everything worked when all the css was on the page and not linked.
Isn't designing websites like banging your head on concrete at times.
Cheers