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
2010-03-24 02:39:39
we actually need browser-compatible code... i have tried this one and its just for gecko-based browsers.
Jronny
2010-03-24 03:19:21