Sameera Thilakasiri
Sameera Thilakasiri

Reputation: 9498

Wrong CSS validation error? Aptana studio vs W3-Validator

#header ul li a[title="Über uns"] {
    background-image:url(images/header.jpg);
}

is said to be an lexical error by Aptana studio because of the Ü in the first line. The W3-Validator says its valid CSS, and also the Browsers understand. So its a bug?

Upvotes: 3

Views: 502

Answers (2)

oezi
oezi

Reputation: 51797

as long as your files are saved and the page is delivered with an encoding that supports german umlauts like "Ü" (utf-8, for example), everything is fine. if so, and Aptana studio still shows an error, it's a bug in Aptana studio.

Upvotes: 5

sascha
sascha

Reputation: 4690

Workaround for this, if your url is in english:

#header ul li a[href~="about"] {

I think, the Aptana devs just forgot the Umlauts.

Upvotes: 1

Related Questions