I used a NiftyCube javascript and css from Alessandro Fulciniti to create rounded corners for a form. The form used fieldset and legend tags to separate different sections of the form. I used ‘border-style:none‘ for the fieldset to get rid of the borders around it. The NiftyCube worked perfectly in Internet Exporer, however the form looked messy in Firefox. The rounded corners were below the legend.

The solution was to get rid of the legend tag and use a div tag within the fieldset with the following style:

    display:block;
    margin:10px;
    font-weight:bold; 

Form with rounded corners