1,105,375 Community Members

Button on the master page

Member Avatar
subbudaita
Newbie Poster
7 posts since Jan 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

Hi,

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

Member Avatar
JorgeM
IT Addict
6,416 posts since Dec 2011
Reputation Points: 581 [?]
Q&As Helped to Solve: 963 [?]
Skill Endorsements: 172 [?]
Moderator
Featured
Sponsor
 
0
 

How can we help if you haven't provided anything relevant to work with?

Member Avatar
sushmaja.arumalla.9
Newbie Poster
22 posts since Dec 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
subbudaita
Newbie Poster
7 posts since Jan 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 
<%@ 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">
    .style2
    {
        width: 100%;
        height: 652px;
    }
    .style3
    {
        height: 108px;
    }
    .style4
    {
        width: 363px;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style2">
    <tr>
        <td bgcolor="White" class="style3" colspan="2">
            <asp:Label ID="Label5" runat="server" BackColor="White" BorderWidth="0px" 
                ForeColor="Black" 
                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" 
                Text="Welcome!"></asp:Label>
        </td>
    </tr>
    <tr>
        <td class="style4">
            &nbsp;</td>
        <td>
            <div style="z-index: 1; left: 433px; top: 182px; position: absolute; height: 289px; width: 519px">
            </div>
            <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" />
        </td>
    </tr>
</table>
</asp:Content>

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

Member Avatar
Wael1988
Newbie Poster
21 posts since Dec 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

check ur CSS file,

Member Avatar
sushmaja.arumalla.9
Newbie Poster
22 posts since Dec 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: