|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Web Form Panel Position ProblemI 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. How is it displaying in Firefox..
Try posting the aspx page. Patrick Show quoteHide quote "Burstock" <Burst***@discussions.microsoft.com> wrote in message news:FA1F3BF9-82C4-411D-B2C8-7C8F3DDED9AA@microsoft.com... >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.
Get DateTimeFormatInfo for user?
Newbie Question Parsing text with code and ASP.NET Transaction and TypedDataSEt How to access ASP.NET Calendar control from javascript? The process cannot access the file "" because it is being used by another process. ASP.NET 2.0 Custom Controls and Skins IIS and seting .aspx page as default? Autocomplete Works in older Web site version, not new ASP.NET Session Lost (SQL State Server) |
|||||||||||||||||||||||