Hi Imar,
Attached the MMpage but am confused as to why CSS file are implicated as nine of the themes(Monochrome/DarkGrey) are used in this part of excercise......
Code:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="ManagementMaster.master.cs" Inherits="MasterPages_ManagementMaster" %>
<!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>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<div>
<div style="width: 20px; float: left;">
<ul>
<li><a href="~/Management/Default.aspx" runat="server">Manage Home</a></li>
<li><a href="~/Management/Genres.aspx" runat="server">Manage Genres</a></li>
<li><a href="~/Management/Reviews.aspx" runat="server">Manage Reviews</a></li>
</ul>
</div>
<div style="width: 750px; float: left;">
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</div>
</form>
</body>
</html>
Post Edit.
Just checked HTML of page not displaying and Monochrome CSS sheet is used.
Code:
*
{
font-family: Arial, Sans-Serif;
}
body
{
/*
Clears white space around the body except for the top which gets 10 pixels.
*/
margin: 10px 0 0 0;
}
a
{
/*
Clears the underline on normal links, and give them #308462 as the color.
*/
color: #308462;
text-decoration: none;
}
a:hover
{
/*
Underlines links when the users hover the mouse over them.
*/
text-decoration: underline;
}
h1
{
/*
Makes h1 elements smaller than their browser default.
*/
font-size : 20px;
}
.Introduction
{
font-style: italic;
color: #003399;
}
#PageWrapper
{
/*
Sets the total width for the entire page.
*/
width: 844px;
background-color: #cccccc;
}
#Header
{
/*
Gives the header the same width as the PageWrapper. The height creates some room for the logo
that is set with the background-image.
*/
background-image: url(Images/Header.jpg);
width: 844px;
height: 86px;
}
.HeaderLink
{
/*
The #HeaderLink is nested in the #Header. It provides a link to the homepage.
*/
width: 844px;
height: 86px;
display: block;
}
#MenuWrapper
{
/*
The menu spans the page width, right below the header.
At the top and left a few pixels padding is applied to create some room.
*/
background-image: url(Images/MenuBackground.jpg);
width: 827px;
height: 36px;
padding-top: 7px;
padding-left: 17px;
}
#MenuWrapper a
{
/*
Links in the Menu are white. This gets overriden by styles in chapter 7.
*/
color: #fff;
}
.MainMenu
{
/*
The Menu gets a white border on all four sides.
*/
border: 1px solid white;
width: 814px;
height: 19px;
background-color : #cccccc;
}
#MainContent
{
/*
Defines the main content area. The #MainContent element has a minimum height of 500 pixels, but can grow if necessary.
The font-size is 80% of its parenty element, which in this case comes down to 80% of the font
the user has specified as the default font in the browser.
*/
font-size: 0.8em;
width: 659px;
border-left: 1px solid white;
border-right: 2px solid white;
float: left;
background-color: #e1e1e1;
min-height: 500px;
padding: 10px;
}
#Sidebar
{
/*
The SideBar is positioned to the right of the MainContent area. It gets the same font-size as #MainContent
and gets a background image called Sidebar.jpg. To ensure the image is visible in (most) browsers
on a dmall page, the element gets a minimum height of 500px. This is ignored by IE 6.
*/
font-size: 0.8em;
background-image: url(Images/Sidebar.jpg);
background-repeat: no-repeat;
background-color: #cccccc;
width: 152px;
min-height: 500px;
padding-top: 10px;
padding-left: 10px;
float: left;
}
#Footer
{
/*
The footer is positioned below all other content (yet still within PageWrapper).
At the top, it gets a border with a dashed style, while all other sides have no border.
clear: both is used to clear the impact of the float properties used for #MainContent and #SideBar.
*/
clear: both;
height: 37px;
background-color : #bee4cf;
color: White;
text-align: center;
font-size: 0.7em;
font-weight: bold;
line-height: 37px;
}
.MyButton
{
color: #308462;
}
.StaticMenuItemStyle, .StaticMenuItemStyle a
{
/* Defines the look of main menu items. */
color: #707070;
font-size: 14px;
font-weight: bold;
text-decoration: none;
padding-left: 2px;
}
.StaticHoverStyle, .StaticSelectedStyle
{
/* Defines the look of active and hover menu items */
background-color: #c1e4ce;
}
/*.adjustedZIndex {
z-index: 1;
}
*/
.DynamicMenuStyle
{
z-index: 1000;
}
.DynamicMenuItemStyle
{
/* Defines the sub menu items */
font-size: 14px;
color: #707070;
background-color: #cccccc;
padding: 4px 2px 4px 3px;
}
.DynamicHoverStyle
{
/* Defines the hover style of sub menus */
background-color: #707070;
color: White;
}
.DynamicHoverStyle a
{
/* Removes the underline from links in the sub menus */
text-decoration: none;
}
.PleaseWait
{
height: 32px;
width: 500px;
background-image: url(Images/PleaseWait.gif);
background-repeat: no-repeat;
padding-left: 40px;
line-height: 32px;
}