hi guys! I’m new here…and to web design.
I’m making a portfolio site for a friend.
It works fine with safari and IE, but not with Firefox.
I know this has to do with the W3C standards, but I just cannot get my head around what the validator means when it says things like…
“an attribute value literal can occur in an attribute specification list only after a VI delimiter”
I’ve been trying to research for the last two days and now completely frazzled. Can someone help me?
I’ve included the html for a page and css.
thanks ever so much
emily
x
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=“http://www.w3.org/1999/xhtml”>
<head>
<title>Guy Heywood Photography</title>
<meta http-equiv=“Content-Type” content=“text/html;charset=utf-8”/>
<link href=“style1.css” rel=“stylesheet” type="text/css/>
</head>
<div id="bodycontent">
<a href="index.html"><h1>Guy Heywood</h1></a></div>
<h2>Photography</h2>
<div style="position:absolute;left:480px;top:45px">
<a href="contact.html"><h2>Contact</h2></a></div>
</div>
<div style="position:absolute;top:120px;left:30px;">
<img src="gallery/12.jpg" width="753"height="500"/></div>
</div> <!---end of bodycontent div --->
<div style="position:absolute;left:33px;top:620px">
<a href="7.html"><h3>Previous</h3></a></div>
<div style="position:absolute;left:105px;top:620px">
<a href="9.html"><h3>Next</h3></a></div>
<p>
</body>
</html>
/*
CSS for Guy Heywood
*/
body {
font-family: Arial, serif;
line-height: 100%;
padding: 25px;
}
h1 {
font-family: Arial, serif;
font-size: 30px;
letter-spacing: 0.1em;
font-weight: normal;
margin-bottom: 0;
}
a:link {
color: black;
text-decoration: none;
}
a:hover {
text-decoration: none;
}
h2 {
font-family: arial, serif;
font-weight: 300;
color: gray;
font-size: small;
letter-spacing: 0.2em;
margin-bottom: 0;
}
h3 {
font-family: arial, serif;
font-weight: 300;
color: gray;
font-size: small;
letter-spacing: 0.1em;
margin-bottom: 0;
text-decoration: none;
}
a {
font-family: arial, serif;
font-weight: lighter;
font-size: small;
color: black;
}
h3:visited {
color: gray;
text-decoration: none;
}
h3:hover {
text-decoration: none;
color: white;
background-color: black;
}