This is the structure
<div>
<fieldset>
<asp:panel runat="server">
<asp:Gridview runat="server">
</asp:Gridview>
</asp:panel>
</fieldset>
</div>
I would like the div, fieldset and panel widths to stay intact. When the columns in the grid increase, a horizontal scrollbar should appear for the panel. I am unable to figure that out. The panel & grid are going out of the fieldset.
Here is the link for the CSS
http://jsfiddle.net/FksxS/12/ As you can see, when the columns increase, the table and the div go out of the fieldset.
Please suggest solutions that do not fix width in pixels, as that would not work for all screens.