W3C home > Mailing lists > Public > www-validator-css@w3.org > September 2004

CSS validation error query

From: J. Grant <jg@jguk.org>
Date: Sat, 18 Sep 2004 22:31:47 +0100
Message-ID: <414CA943.9070709@jguk.org>
To: www-validator-css@w3.org

Hello,

Something is rather unclear, I wonder if you could be able to clarify 
something for me, and also the report on my CSS.

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fjguk.org

=======================
URI : http://jguk.org/standard.css

     * Line: 0 Context : BODY

       Invalid number : marginonly 0 can be a length. You must put an 
unit after your number : 6
=======================


BODY	{	font-family: sans-serif;
		font-size: 15px;
		background: #ccccd5;
		color: #000000;
		margin-left: 6px;
		margin-right: 6px;
		margin-top: 6px;
		margin-bottom: 6px;
		margin: 6;
		padding: 0;
	}



The "margin" does not have a space after it.  Also I do not understand 
the error.  Does it mean '6' in this instance is not a valid margin? 
And that only 0 is a valid margin?  that does not seem to make sense though.


I am not on this list, so please include me in any replies.

Thank you in advance for any replies.

Kind regards

JG

-- 
Homepage: http://jguk.org/
Blog: http://jguk.org/index.html#blog
Radio: http://jguk.org/index.html#radio
Received on Saturday, 18 September 2004 21:26:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:15 GMT