163 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+5 more
starshade says

So there is this non valid stuff to make rounded corners in css:

-moz-border-radius: 10px;
-webkit-border-radius:10px;
border-radius:10px;

Basically border-radius property is not supported by browsers, but some time in the future I guess it will be. My question is, since these hacks for firefox and safari do not pass validation, am I allowed to use them in a html template for theme forest ? I want to have rounded corners on some boxes and buttons and the easiest way to achieve this is to use the above syntax(and yes I know this won’t work on any ie, but I’ll accept this compromise for now).

Starshade

1040 posts
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
Pixelworkshop says

Yes, you could also put them in a separate CSS for the people who need 100% validation so it’s easy to remove :)

162 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
+6 more
ponjoh says

I actually recommend that you use them. The site works without them, but people with newer browsers can enjoy the enhanced visuals. That’s what progressive enhancement is all about.

As Keliah said, put them in a separate stylesheet, because some people will want their site to be completely valid.

163 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+5 more
starshade says

Sounds great then :) It’s a lot easier to do this rather than slicing images and writing quite a lot of css to make a rounded box. Thanks for answers, hope there won’t be a problem with this when the item will be reviewed.

1040 posts
  • Has referred 200+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 more
Pixelworkshop says

Don’t worry, I got a template using CSS3 , you can also have a look here

629 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+2 more
VagrantRadio says

Use all the new specs for CSS3 , even html5 if you want! :)

by
by
by
by
by
by