Jump to content

Validation


SpOrTsDuDe.Reese

Recommended Posts

I'm trying to get my CSS code validated while the files are offline. I have a website but I do not want to use the webspace just trying to see if a page is validated. I'm wondering if its possible to validate files that are offline...?The CSS code is as followed (Don't mind the <body> tags because I haven't developed the actual website yet, just the CSS:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">	<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">	<head>		<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />		<meta name="generator" content="IPDynamic Lite">		<title></title>		<meta name="keywords" content="">		<meta name="description" content="">	<style type="text/css">		<!--/* Beginning of CSS code *//* This code is entirely coded by a noobie. So don't make too much fun of it;D */body{	background:#FFFFFF;	background-image:url(http://www.gameyin.com/images/backgroundimg.jpg);	font-family:Verdana, Arial, Helvetica, sans-serif;}form{	display:inline;	padding: 0;	}img{	border: 0; /*Looks cool */}/*This is where all the link properties start */a:active{	background: transparent;	color: #CC3399;	text-decoration: underline;}a:visited{	background: transparent;	color: #339966;	text-decoration: none;}a:link{	background: transparent;	color: #0000FF;	text-decoration: none;}a:hover{	background: transparent;	color: #F00F0F;}/* This is where all the link properties end *//* End of CSS code */--></style>	</head><body></body>	</html>

Also any other suggestions to this would be helpful!

Link to comment
Share on other sites

You have to validate your CSS only, get rid of everything else and just validate

/* Beginning of CSS code *//* This code is entirely coded by a noobie. So don't make too much fun of it;D */body{	background:#FFFFFF;	background-image:url(http://www.gameyin.com/images/backgroundimg.jpg);	font-family:Verdana, Arial, Helvetica, sans-serif;}form{	display:inline;	padding: 0;	}img{	border: 0; /*Looks cool */}/*This is where all the link properties start */a:active{	background: transparent;	color: #CC3399;	text-decoration: underline;}a:visited{	background: transparent;	color: #339966;	text-decoration: none;}a:link{	background: transparent;	color: #0000FF;	text-decoration: none;}a:hover{	background: transparent;	color: #F00F0F;}/* This is where all the link properties end *//* End of CSS code */

Because tags are not part of CSS and won't validate.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...