Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Adjusting site master page

Posted on 2013-11-14
2
Medium Priority
?
399 Views
Last Modified: 2013-11-15
Problem I'm having is, my title banner doesn't extend the full width of the page.
But more importantly, the one button I have (I will probably add one or two more) is HUGE.  I've tried adjusting a few settings to reduce it, but it doesn't seem to make it smaller.  Could it be something in the style sheet?


<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Site.master.vb" Inherits="Management.Site" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head runat="server">
    <title>My Title</title>
    <link href="~/Styles/Site.css" rel="stylesheet" type="text/css" />
    <asp:ContentPlaceHolder ID="HeadContent" runat="server"></asp:ContentPlaceHolder>
    <style type="text/css">
        .style1
        {
            position: relative;
            margin: 0px;
            padding: 0px;
            background: #4b6c9e;
            width: 100%;
            color: #FFFFFF;
            font-family: Consolas;
            font-size: xx-large;
        }
    </style>
</head>
<body>
    <form runat="server">
    <div class="page">
        <div class="style1">
            Management System
             <div class="clear hideSkiplink">
                <asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" 
                    EnableViewState="False" IncludeStyleBlock="False" Orientation="Horizontal" 
                    BackColor="#F7F6F3" DynamicHorizontalOffset="1" Font-Names="Verdana" 
                    Font-Size="8px" ForeColor="#7C6F57" StaticSubMenuIndent="8px">
                    <DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" />
                    <DynamicMenuItemStyle HorizontalPadding="2px" VerticalPadding="2px" />
                    <DynamicMenuStyle BackColor="#F7F6F3" />
                    <DynamicSelectedStyle BackColor="#5D7B9D" />
                    <Items>
                        <asp:MenuItem NavigateUrl="~/manage.aspx" Text="Manage Existing"/>
                    </Items>
                    <StaticHoverStyle BackColor="#7C6F57" ForeColor="White" />
                    <StaticMenuItemStyle HorizontalPadding="2px" VerticalPadding="2px" />
                    <StaticSelectedStyle BackColor="#5D7B9D" />
                </asp:Menu>
            </div>
        </div>
    </div>
    <div class="main">
        <asp:ContentPlaceHolder ID="MainContent" runat="server"/>
    </div>
    <div class="clear"></div>
    <div class="footer"></div>
    </form>
</body>
</html>

Open in new window

0
Comment
Question by:sirbounty
2 Comments
 
LVL 15

Accepted Solution

by:
unknown_routine earned 1000 total points
ID: 39649124
To manage the size, Put everything in a Table.


So your banner goes to the first row of a table which has one cell.

Your Button goes to second row, ...
0
 
LVL 67

Author Closing Comment

by:sirbounty
ID: 39651123
<smacks head>
Thanks! :^)
0

Featured Post

[Webinar] Cloud Security

In this webinar you will learn:

-Why existing firewall and DMZ architectures are not suited for securing cloud applications
-How to make your enterprise “Cloud Ready”, and fix your aging DMZ architecture
-How to transform your enterprise and become a Cloud Enabler

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question