Hi,

When I validate the CSS, using http://jigsaw.w3.org/css-validator/
I get this error: This profile has a very specific syntax for @charset: @charset followed by exactly one space, followed by the name of the encoding in quotes, followed immediately by a semicolon. @CHARSET "UTF-8";

From what I understand in the forums, UTF-8 is correct for Drupal, but can cause problems with Safari.

Does anyone have any advice on this issue?

Thanks

Comments

macmladen’s picture

The error is because declaration is in upper-case.

Just change it in every stylesheet and you'll be fine with that.

Also there is mistake in text-decoration: strikethrough which does not exist, should be changed to line-through

However, there are still some errors with mozilla and web-kit extensions in system.css which could be overridden, however I didn't bother with that.

Shannon, please change those both in 6.x and 7.x version.

Marie Marie’s picture

Hey, thanks for getting back to me :-)

I tried it:
@charset "uft-8";

But then, none of my css works :-(

The validator tells me, several times, that:
The @charset rule may only occur at the start of the style sheet. Please check that there are no spaces before it. @charset "uft-8";

But, there are no spaces. Do you think this is something to do with having 8 different style sheets, all with charset at the top?

When I comment out charset, my page validates. It then, still appears in the page source code (I'm not sure where from!). So, is it best just to remove it all together?
Thanks

Marie Marie’s picture

Pls ignore the last comment... it was Sunday... it was late... I should have been chilling out & not geeking!
The errors were due to me running the validator on my localhost.
Now that I made the changes on my live site, it validates & alls good.
By the way, thanks for this truely beautiful, clean theme. I've subthemed it to build my last two sites (learning CSS as I go).
So thanks!

Pedro Lozano’s picture

Status: Active » Fixed

Commited the changes to the 7.x-2.x branch. Thanks Marie for reporting and MacMladen for the fix.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.