353 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
chack says

Hey there,

so i actually got one problem why my theme has not been accepted. The css3 validation.

Everyone should know that the validator doesn’t understand -webkit and -moz.

But they aren’t wrong! So why do i get that?:

2) Some of your files contain validation errors that will need to be fixed. Please be sure that all files validate before resubmitting.

You can validate HTML at http://validator.w3.org You can validate CSS at http://jigsaw.w3.org/css-validator/

The whole Template is full HTML5 and CSS3 valid, without this webkit & moz styles…

Should i remove them? Oo

Edit: Using -webkit-transition, -moz-border-radius and -webkit-border-radius. Don’t see that as false validation…

193 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
Roeven says

http://themeforest.net/forums/thread/css3-not-validating/18666?page=1#173474

Webkit targets Safari and Opera I believe, Moz targets Firefox. This means that in IE the corners aren’t rounded. Your site will not look the same cross-browser. I think this is why it was rejected.

4 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in Europe
+1 more
NellyB says

I use them too, but I set them with jQuery, so that the CSS file is valid CSS3 .

The prefixes are used for the own implementation for the browser developer, take a look here: http://www.w3.org/TR/CSS2/syndata.html#vendor-keywords

2329 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 more
CreativeMilk says

Strange because i use a lot of -webkits in my css codes. CSS 3 is cool but it’s not working proper so i dont really use the CSS3 tags.

Well i think you have to email the reviewer about this :)

2329 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 more
CreativeMilk says
I use them too, but I set them with jQuery, so that the CSS file is valid CSS3 . The prefixes are used for the own implementation for the browser developer, take a look here: http://www.w3.org/TR/CSS2/syndata.html#vendor-keywords

Why set them with jquery, there’s nothing wrong if a css file isn’t valid(if the only validation errors are the webkits and moz tags)

The most important validation is the xhtml ;)

4 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in Europe
+1 more
NellyB says

By the way: CSS2 .1 is still a candidate recommendation!

353 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
chack says

To the cross browser support, I have a solution for the IE’s so they got rounded corners.

So @ Mark why does the reviewer see it as a problem. IT ISNT ! -moz & -webkit are just for these browsers, the other ignores that…

Well, im going to mail that problem…

Edit: Maybe im just stupid, the css validator set my css to 2.1… Never saw a doctype or something in CSS , so…? Validator issue or me?

4344 posts ThemeForest Reviewer
  • Has referred 1+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Member of the Envato Team
+12 more
Ivor Envato team says

One word for you: jQuery :)

$(#selector).css("-webkit-border-radius", "4px");

353 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+2 more
chack says

Why should i use Jquery for that, when i could write this in the css. There’s no problem with that…

631 posts
  • Has referred more than 5000 members
  • Has sold $2M+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Had an item featured in a magazine
+9 more
Kriesi says

neither would do that…

ive released themes with css3 and vendor specific rules before and others did so as well, cant imagine why this should be a problem. I would try to get a second opinion, either from a reviewer or the sitemanager

by
by
by
by
by
by