views:

242

answers:

1

Is there any fieldset with legend that has curvy corners? I was looking on the internet for one, but too unlucky to find any.

A: 
fieldset { 
    -moz-border-radius: 8px; 
    border-radius: 8px;
    -webkit-border-radius: 8px; 
}

This should work on Firefox, Chrome, Safari, and Opera.

For fieldset rounded corners for IE, check out http://stackoverflow.com/questions/940191/rounded-corners-on-a-fieldset

Kevin Crowell
we actually need browser-compatible code... i have tried this one and its just for gecko-based browsers.
Jronny