Jump to content

colin

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by colin

  1. 1. there is two unexpected p-tags (remove them):line 81 column 1 - Warning: trimming empty <p>line 88 column 1 - Warning: trimming empty <p>2. there is small (space) typo in fonts:font-family: "comic sans ms", sans- serif; sans- serif; must be as sans-serif;3 if You are using background-color You must use color too.I mean, there must be both, color and background-color all cases if other is:background-color: #FFFFFF;color: #C0C0C0;Very handy is inherit value with background (or with color):color: #C0C0C0;background-color: inherit;4. #container background-color:#d2b48c ;there is one space at the end of string, should bebackground-color:#d2b48c;No errors or warnings anymore. :)

    Thanks for your help raimo, I'll give your suggestions a try and see how I get on. I never realised how much of a problem seemingly minor things could be. Thanks again , Colin.
  2. 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?

    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.
  3. 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>

  4. 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

  5. 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.

×
×
  • Create New...