163 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 2
+6 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

1045 posts
  • Trendsetter
  • Author Level 8
  • Elite Author
  • Top Monthly Author
+12 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
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 7
  • Collector Level 1
+8 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
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 8
  • Collector Level 2
+6 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.

1045 posts
  • Trendsetter
  • Author Level 8
  • Elite Author
  • Top Monthly Author
+12 more
Pixelworkshop
says

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

629 posts
  • 5 Years of Membership
  • Affiliate Level 2
  • Collector Level 2
  • Exclusive Author
+4 more
VagrantRadio
says

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

by
by
by
by
by
by