my panel/table expands and shrinks!

eramgarden

Contributor
Joined
Mar 8, 2004
Messages
579
I have a panel/table that when I click "submit" button..it first expands, then I click "submit" again, it shrinks to it's original size. This only happens in Mozilla

-- This is the HTML
Code:
<asp:panel id="pnlAddSite8" runat="server" >
  <TABLE class="tblAddSite">
   ...
  </table>
</asp:panel>

-- I display the panel in the code:
Code:
pnlAddSite8.Visible = True
strDivStyle = "POSITION: absolute; LEFT: 30px; TOP: 198px; Height=368px; "
pnlAddSite8.Attributes.Add("style", strDivStyle)

-- table CSS has the same style as the panel.

-- I did move the panel's style to HTML but that messes up the positions.

Any ideas how to fix this in Mozilla? and why this is happening?
 
Back
Top