Ive just tryed to validate my web site and on the index.html i get quite a bit. I used CSS to design the layout. These are the things below. Can anyone please help. P.S i never wrote the CSS for the menu i got it off a friend and i think alot of the bad validation is to do with that.
Line: 0
Parse error – Unrecognized : <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”> <html> <head> <title>Sphere Web Design – Home</title> <style type=”text/css” media=”screen”><!– #footer { clear: both; height:55px; width:627px; margin-top:480px; margin-left:85px; background-color: white; }
Line: 0 Context : A.menulink
Invalid number : displayhorizontal is not a display value : horizontal
Line: 0 Context : A.menulink:hover
Invalid number : background-colorlightblue is not a color value : lightblue
Line: 0 Context : A.menulink:hover
Parse Error – –></style> <STYLE> BODY {SCROLLBAR-FACE-COLOR: white; SCROLLBAR-HIGHLIGHT-COLOR: gray; SCROLLBAR-SHADOW-COLOR: gray; SCROLLBAR-3DLIGHT-COLOR: gray; SCROLLBAR-ARROW-COLOR: lightskyblue; SCROLLBAR-TRACK-COLOR: white; SCROLLBAR-DARKSHADOW-COLOR: black; SCROLLBAR-BASE-COLOR: aqua}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : </STYLE> <script> var ns4class=” </script> </head> <body bgcolor=”#ffffff” link=”lightskyblue” vlink=”gray”> <div id=”banner”></div> <div id=”nav”> <center> <a href=”index.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : ;>Home</a> <a href=”about.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : ;>About</a> <a href=”web.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : ;>Web Design</a> <a href=”flash.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : ;>Flash Design</a> <a href=”prices.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : ;>Prices</a> <a href=”portofolio.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : ;>Portofolio</a> <a href=”contact.html” class=”menulink” class=&{ns4class}
Line: 0 Context : A.menulink:hover
Parse error – Unrecognized : };
Warnings
URI : file://localhost/C:Documents and SettingsOwnerDesktoptermdocsindex.html
Line : 0 font-family: You are encouraged to offer a generic family as a last alternative
Cheers
Chris Sharkey