views:

193

answers:

0

Hi,

I have an asp:panel and a gridview inside the same panel. The asp:panel is getting rendered as < DIV>

The problem with me is DIV tag is not adjusting its height with content in IE7. But in IE6, its working perfect.

I tried style="overflow:auto;" (for asp:panel)...But what happened is am able to see scroll in IE7 (...and ie6 works perfect).

Can u help me to make the height of div(asp:panel) equal to its contents.