I am designing a website in asp.net. In the master page buttons change their postion and overlap when rendered in a browser. Please help me out.
Thank you in advance

4 Years
Discussion Span
Last Post by sushmaja.arumalla.9

Youi should provide proper css for all the buttons either they are fixed or floating. First check it out otherwise post related code here...

<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Admin Login.aspx.cs" Inherits="Admin_Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        width: 100%;
        height: 652px;
        height: 108px;
        width: 363px;
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style2">
        <td bgcolor="White" class="style3" colspan="2">
            <asp:Label ID="Label5" runat="server" BackColor="White" BorderWidth="0px" 
                style="z-index: 1; left: 3px; top: 46px; position: absolute; font-size: large; font-weight: 700; font-family: Calibri; vertical-align: middle; letter-spacing: 1pt" 
        <td class="style4">
            <div style="z-index: 1; left: 433px; top: 182px; position: absolute; height: 289px; width: 519px">
            <asp:LinkButton ID="LinkButton1" runat="server" 
                style="z-index: 1; left: 437px; top: 499px; position: absolute; vertical-align: middle; letter-spacing: 1pt; font-size: small; font-weight: 700; font-family: Calibri; height: 19px">Forgot Password</asp:LinkButton>
            <asp:Button ID="Button16" runat="server" BorderColor="#0066FF" 
                BorderStyle="Groove" BorderWidth="2px" ForeColor="Black" 
                style="z-index: 1; left: 862px; position: absolute; height: 26px; font-size: medium; font-weight: 700; font-family: Calibri; vertical-align: middle; letter-spacing: 1pt; top: 497px" 
                Text="Sign In" />

above is the code for my master page,the buttons that are the misplaced are the menu items :)


It does not seems to be your master page content Because your menu items Style or css is not mentioned anywhere so plz provide ur masterpage once.I think this is your page content which inherits the master page.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.