Itachi-Kun
New Member
Hey this is my first post and I am a beginner with asp.net. I am having trouble working with a master page. I have a website with six pages and one master page for all, four of the pages the layout is perfect and for two of the pages it puts the footer to high (in the middle of the page). All the pages are the same length so I am not sure why it is doing that. Has anyone encountered this problem before? Here is the code from the master page. \[code\]<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head id="Head1" runat="server"><title></title><asp:ContentPlaceHolder ID="HeadContent" runat="server"></asp:ContentPlaceHolder><style type="text/css"> .menu { background-color: #FFFF00; } .hideSkiplink { background-color: #FFFF00; width: 1260px; height: 23px; } .footer { background-color: #FFFF00; width: 1257px; height: 23px; margin-top: 33px; } .main { width: 726px; height: 709px; margin-top: 49px; margin-bottom: 38px; } </style> </head><body> <form id="Form1" runat="server"><div class="page"> <div class="header"> <div class="title"> <h1 style="width: 1255px"> <asp:Label ID="lblTitle1" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="XX-Large" ForeColor="Blue" Text="Sports Pro"></asp:Label> <br /> <asp:Label ID="lbltitle2" runat="server" Font-Size="Large" ForeColor="Red" Text="Sports managment software for the sports enthusiast"></asp:Label> </h1> </div> <div class="clear hideSkiplink"> <asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Height="16px" Width="59px" Orientation="Horizontal"> </asp:Menu> <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="False" ViewStateMode="Disabled" /> </div> </div> <div class="main"> <asp:ContentPlaceHolder ID="MainContent" runat="server"> <p style="height: 708px; width: 725px; margin-bottom: 48px;"> <br /> </p> </asp:ContentPlaceHolder> </div></div><div class="footer"> To contact us, call us at 800-555-0400 or email us at <a href="mailto:[email protected]">[email protected]</a></div> </form></body></html>\[/code\]