Saving for myself: duplicating fieldset rounded corners in FF and Safari

Sep 21, 2010 14:15

CSS to duplicate IE rounded corners on fieldsets in Firefox and Safari ( Read more... )

coding

Leave a comment

Comments 2

thalia_dmuse September 22 2010, 20:24:16 UTC
Very cool - thanks!

Reply

cschick September 22 2010, 21:36:19 UTC
If you haven't stumbled across this gotcha: you cannot style the border on fieldsets or you lose the rounded corners in IE. You can put the above in the CSS class or style string and IE ignores it, but the instant you add border: 2px, IE dumps the rounded corners. *rolls eyes*

Our UI has been kind of abusing fieldsets for the rounded corner aspect in IE (since we only officially support IE . . . also *rolls eyes* since the thing works about 100x better in any other browser then IE). So I was very happy to find the above CSS to extend that to FF/Safari.

Reply


Leave a comment

Up