This is a migrated thread and some comments may be shown as answers.

Fieldset within a Fieldset does not render properly in IE7

1 Answer 90 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Billy
Top achievements
Rank 1
Billy asked on 14 Apr 2009, 06:55 PM
I have found a problem where IE7 does not properly render the outer fieldset if a nested fieldset has a legend.  In this case, the the top line of the outer fieldset is shifted up by the height of the legend of the inner fieldset.  Disabling rounded corners solves the problem, but the only reason I am using the fieldset is to get the rounded corners effect.  Also, if there is no legend on the inner fieldset, the control also renders properly.  The fieldset renders properly in firefox.

Here is the sample html that doesn't render properly:
<body> 
    <form id="form1" runat="server"
    <div> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"
        </telerik:RadScriptManager> 
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All"/> 
        <fieldset style="margin:5px; padding:5px;"
            <fieldset> 
                <legend>Legend</legend> 
                <div>Content</div> 
            </fieldset> 
        </fieldset> 
    </div> 
    </form> 
</body> 

I am using the 2009 Q1 version of the RadControls.  Please advise.

Thank you,

Billy

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 15 Apr 2009, 01:45 PM
Hi Billy,

I am afraid that there is no workaround for now. We are familiar with this problem, however the decoration of fieldsets in IE is not an easy task and the current implementation is at its best at this point. Of course if we find an appropriate solution that produce consistent result in all major browsers, we will implement it right away.


Best wishes,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
FormDecorator
Asked by
Billy
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or