tags:

views:

157

answers:

5

Hello!

There is a huge use of rounded corners in web design, and as far as i'm aware this issue has been addressed in CSS3 so as to avoid having to hack around with images for curved corners etc.

However, by using built in rounded corner capabilities of CSS3 - will this affect the display of the site cross browser?

+2  A: 

The browsers that don't support CSS3 will show sharp corners.

In general, it may not be a good idea to use those CSS options that are not supported by the vast majority of the browsers currently in use.

Alternatively you can use vendor-specific extensions along with the CSS3 styles. This will cover a good portion of browsers out there.

border-radius: 2em;
-moz-border-radius: 2em;
-webkit-border-radius: 2em;
Developer Art
So in general as a web designer its probably not a good idea to use this feature?
Goober
You will be sued if a user injures themselves on those sharp corners.
Will
I will write a notice: "This page if for 18+ only".
Developer Art
@Goober: I believe it is not a good idea to use whatever is not supported by the majority of browsers yet. Inclusive this display:table option because IE8 spread is not that great yet.
Developer Art
+4  A: 

CSS3 is not a standard. It is not universally adopted. I strongly recommend not using it, at least not yet.

Even more important... do you absolutely need rounded corners? Will consumers not buy your products because the corners are not round? Rounded corners cost significantly more than any value they could possibly be worth.

Heck, I don't *absolutely need* images either! And who's that jaba-kid everyone's talking about? OK - seriously - when you have paying clients with a ready design, you can't tell them you'll do something *similar* to what they want.
Kobi
I wouldn’t buy a product from a website without rounded corners!
Gumbo
@Gumbo you are the exception to the rule then. After working for a website that gets millions of visitors a day and seeing the results of comparative usability tests rounded corners tend to harm the user experience. When websites focus on presentation and usability first they tend to fail in usability tests pretty significantly. Consumers are interested in efficiency, good content, and a valuable product. Consumers are significantly less interested in how pretty the website is. If prettiness harms efficiency you have probably lost a customer.
+1  A: 

It will depend on the browsers that support it. I'd advice not using it until the major browsers can handle it correctly. An overview of which browser can handle which CSS3 properties can be found on http://www.quirksmode.com/

Litso
+1  A: 

An easy way to have easy, almost-cross-browser rounded corners, is to use a jQuery plugin called (yes you guessed it) rounded corners. You can find it at

http://plugins.jquery.com/project/corners

Last time I checked it said it supported IE6, but it didn't.

Constant M
+2  A: 

As with any other feature you need to weigh the following factors:

  • The chances that the specification will change (given that it has not reached Recommendation status)
  • The level of support for the feature in the browsers your visitors are using
  • The severity of the consequences of that feature not being available for some users

A feature that makes pages look a little bit prettier is a smaller loss than a feature which lets users submit payment information (for example).

David Dorward