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

1043 posts
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured 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.

1043 posts
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Made it to the Authors' Hall of Fame
  • Had an item featured 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! :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by