0

Hi there guys,
I'm currently trying ti build a site and I cant seem to get the positioning of my page as I want it. Simply pu I want all the items centered instead of as they are (justified left).

Here is the sauce:

<%@ Master Language="VB" CodeFile="MasterPage.master.vb" 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 runat="server">
    <title></title>
    <asp:ContentPlaceHolder id="head" runat="server">
    </asp:ContentPlaceHolder>
    </head>
<body bgcolor="#292929">
    <form id="form1" runat="server">
    <div style="left: 0px; width: 150px; position: absolute; top: 95px; height: 1000px;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</div>
    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/thumbs-up.jpg" 
        style="z-index: 1; left: 0px; top: 0px; position: absolute; height: 95px; width: 85px" />
    <div style="left: 150px; width: 520px; position: absolute; top: 95px; height: 1000px;">
    <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
    </asp:ContentPlaceHolder>
    </div>
    <div style="left: 670px; width: 150px; position: absolute; top: 95px; height: 1000px;">
    <asp:ContentPlaceHolder ID="ContentPlaceHolder3" runat="server">

    </asp:ContentPlaceHolder>
    </div>
    <asp:HyperLink ID="HLAccount" runat="server" 
        
        style="z-index: 1; left: 730px; top: 15px; position: absolute; margin-bottom: 6px" 
        ForeColor="#DEE223">Account/Sign In</asp:HyperLink>
    <asp:HyperLink ID="HLLogout" runat="server" ForeColor="#DEE223" 
        style="z-index: 1; left: 755px; top: 15px; position: absolute" Visible="False">LogOut</asp:HyperLink>
    <asp:TextBox ID="TxtSearch" runat="server" 
        style="z-index: 1; left: 560px; top: 65px; position: absolute"></asp:TextBox>
    <asp:Button ID="BtnSearch" runat="server" 
        style="z-index: 1; left: 705px; top: 65px; position: absolute" 
        Text="Search" />
    <asp:HyperLink ID="HyperLink1" runat="server" BackColor="#9AD9EA" 
        Font-Names="Brush Script MT" Font-Size="XX-Large" ForeColor="Blue" 
        
        style="z-index: 1; left: 85px; top: 0px; position: absolute; height: 40px; text-align: center; width: 190px;">THUMBS UP</asp:HyperLink>
    <asp:Label ID="LblLooking" runat="server" BackColor="#9AD9EA" 
        Font-Size="Medium" ForeColor="Blue" 
        style="z-index: 1; left: 85px; top: 40px; position: absolute; height: 55px; width: 190px; right: 1260px; text-align: center" 
        Text="Looking for a job?"></asp:Label>
    <asp:Label ID="LblRightplace" runat="server" ForeColor="Blue" 
        style="z-index: 1; left: 110px; top: 65px; position: absolute" 
        Text="Your in the right place"></asp:Label>
    
    <asp:HyperLink ID="HyAccount" runat="server" ForeColor="#DEE223" 
        style="z-index: 1; left: 290px; top: 65px; position: absolute">Account</asp:HyperLink>
    <asp:Panel ID="PnlLanguages" runat="server" BorderStyle="None" 
        style="z-index: 1; left: 150px; top: 1095px; position: absolute; height: 35px; width: 520px">
        <asp:HyperLink ID="HyperLink2" runat="server" 
    style="z-index: 1; left: 20px; top: 5px; position: absolute" ForeColor="#DEE223">Languages to go here</asp:HyperLink>
    </asp:Panel>
    <asp:Panel ID="PnlAbout" runat="server" 
        style="z-index: 1; left: 150px; top: 1130px; position: absolute; height: 40px; width: 520px">
        <asp:HyperLink ID="HLAbout" runat="server" 
    style="z-index: 1; left: 20px; top: 5px; position: absolute" ForeColor="#DEE223">About, Privacy, Terms, Etc to go here</asp:HyperLink>
    </asp:Panel>
    
    <asp:Button ID="BtnAdvSearch" runat="server" 
        style="z-index: 1; left: 775px; top: 65px; position: absolute" 
        Text="Advanced Search" />
    
    </form>
    </body>
</html>
2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by SolidSolutions
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.