Previous Message
Next Message

are there changes in the css validator?

Sent by Alan Gresley on 4 December 2009 22:10


Beat Beer wrote:
> Hi Folks
> 
> today I was told by a friend that some css statements don't validate any longer and I really don't
find a solution to the problem.
> 
> following statements do not validate

Hello Beat, the validator is playing up it seems.


> #header {
> 	height: 131px;
> 	background: #e4e3e3 url(../pics/headerMa2.jpg) no-repeat 14.450em;
> }

The below validates.

#header { height: 131px; background: #e4e3e3 url(../pics/headerMa2.jpg) 
4.450em no-repeat; }


> a[href $='.pdf'] {
> 	padding-right: 0;
> 	background: transparent url(../icons/pdf.png) no-repeat left;
> 	padding-left: 20px;
> }

The below validates.

a[href $='.pdf'] {
	padding-right: 0;
	background: transparent url(../icons/pdf.png) left no-repeat;
	padding-left: 20px;
}


[...]
> 
> thanks a lot
> Beat


All I did was move the offset values (4.450em and left) before the 
no-repeat.


-- 
Alan http://css-class.com/
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: