colin
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by colin
-
-
Hi sbrownii, thanks for your help with my validating problem.I've been using the w3c validator for my html and css. I've taught myself using their tutorial's. I tried it again but no luck it seems that the Gods have deserted me,I'll persevere though I refuse to be beat. Thanks Colin.I just ran it through the validator at validator.w3.org with no problems... no parse error or unrecognized... just a few warnings about the css...what validator were you using colin? -
This is my html. and the css.with which I keep getting "parse error " and "unrecognized" with and it normaly shows the #header or in this case #banner.Thank you Colin.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>growing aroids</title> <style type="text/css"> body { margin: 0; padding: 0; font-family:"comic sans ms",sans- serif; color: #000000; background-color:#f5deb3; } #container { width:750px; background-color:#d2b48c ; margin-left:auto; margin-right:auto; border: 1px solid #ff0000; } #banner { background-color: #8b4513; border-bottom: 1px solid #ff0000; text-align:center; } #banner h1 { margin: 0; padding: .5em; color:#ffff00; } #nav {padding:5px; background-color:#8b4513; border-right:solid 1px #ff0000; height:800px; float: left; width: 135px;} #nav p { margin-top: 0; } #content {height:800px; padding-top: 0.5em; margin-left:150px; } #content h2 { color:#ffff00; margin-top: 0; text-align:center; } #footer{ height:35px; line-height:35px; clear: both; background-color:#8b4513; padding-left:10px; text-align: right; border-top: 1px solid #FF0000; } </style></head><body><div id="container"> <div id="banner"> <h1>GROWING AROID'S</h1> </div> <div id="nav"> <p> </div> <div id="content"> <h2> welcome </h2> <p> </div> <div id="footer"> <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a> </p> </div></div></body></html>
-
parse error
in CSS
thanks for you replies, this is the html and css. I've sent it like this because I do not want to muck anything up. Colin.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <title>growing aroids</title> <style type="text/css"> body { margin: 0; padding: 0; font-family:"comic sans ms",sans- serif; color: #000000; background-color:#f5deb3; } #container { width:750px; background-color:#d2b48c ; margin-left:auto; margin-right:auto; border: 1px solid #ff0000; } #banner { background-color: #8b4513; border-bottom: 1px solid #ff0000; text-align:center; } #banner h1 { margin: 0; padding: .5em; color:#ffff00; } #nav {padding:5px; background-color:#8b4513; border-right:solid 1px #ff0000; height:800px; float: left; width: 135px;} #nav p { margin-top: 0; } #content {height:800px; padding-top: 0.5em; margin-left:150px; } #content h2 { color:#ffff00; margin-top: 0; text-align:center; } #footer{ height:35px; line-height:35px; clear: both; background-color:#8b4513; padding-left:10px; text-align: right; border-top: 1px solid #FF0000; }</style></head><body><div id="container"> <div id="banner"> <h1>GROWING AROID'S</h1> </div> <div id="nav"> <p> </div> <div id="content"> <h2> welcome </h2> <p> </div> <div id="footer"> <p> <a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a> </p> </div></div></body></html>
Edit: aspnetguy enclosed code in codebox
-
parse error
in CSS
Help wanted please, I am making a website template for my first site.Im using html.4 transitional which I've had validated by the w3c validator. However when I try to validate the css. I keep getting "parse error, unrecognised"this then shows the dtd. and usually my #header and its contents. Can anyone explain why because I'm at a loss. Thankyou, Colin.
css not validating
in CSS
Posted