Web Form Panel Position Problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a page that uses a Panel server control with a vertical scroll bar. It
is in a table on the page that uses a Master page for it basic layout.
Occasionally, when the page displays in IE (not tried other browsers), the
DIV that is derived from the panel displays halfway down the page.
If you refresh the browser, it displays correctly. I have compared the
source from the browser for a good display and a bad one and can't see any
differences in the HTML.
I don't see the same problem with any other pages.
Any ideas?
I am using VS2005, C#, IE6.

Thanks.
 
Can't get it to break in Firefox.
Here is the apsx:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true"
CodeFile="HardwoodHowMade.aspx.cs" Inherits="HardwoodHowMade" %>

<%@ Register Src="Menu.ascx" TagName="Menu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
<table width="940" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top">
<uc1:Menu ID="Menu1" runat="server" />
</td>
<td align="left" valign="top" style="width: 940px">
<asp:Panel ID="Panel1" runat="server" Height="700px"
Width="100%" ScrollBars="Auto">
<table cellpadding="0" cellspacing="0" width="80%"
align="center">
<tr>
<td>
<table cellpadding="4" cellspacing="2"
class="ContentBody">
<tr>
<td colspan="2">
<img
src="Images/HardwoodMadeHeader.jpg" />
</td>
</tr>
<tr>
<td>
Knowing how home floor covering
products are made is the sign of a savvy shopper.
So well done, you’ve come to the
right place to learn about the ins and outs of
hardwood construction.<br />
So please read on, and we’ll do
our best to help you understand how hardwood is
made, the various types of
construction, and the advantages and disadvantages of
each for you and your home.
</td>
<td>
<img
src="images/howhardwood1.jpg" /></td>
</tr>

</table>
</td>
</tr>
</table>
</asp:Panel>
</td>
</tr>
</table>
</asp:Content>

I have removed a lot of the text content (to make the post easier to read) -
it is just text and <img> tags as more table rows in the inner table.
There is no code behind.

The Master page is just static header stuff - logo, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top