View Single Post
  #6 (permalink)  
Old September 1st, 2010, 03:00 AM
leemark2k3 leemark2k3 is offline
Authorized User
Points: 168, Level: 3
Points: 168, Level: 3 Points: 168, Level: 3 Points: 168, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2009
Posts: 40
Thanks: 4
Thanked 0 Times in 0 Posts
Default

ooh i forgot the css style sheet.

Code:
*
{
    font-family: 'Times New Roman' , Times, serif;
    font-size: 13px;
    }

body
{
    /* 
		Clears white space around the body except for the top which gets 10 pixels.
	*/
    margin: 10px 0 0 0;
    font-size: 14px;
}

a
{
    /*
		Clears the underline on normal links, and give them #308462 as the color.
	*/
    color: #0000FF;
    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: 22px;
    font-weight: bold;
}

.Introduction
{
    font-style: normal;
    color: #000000;
    font-size: 16px;
}

#PageWrapper
{
    /*
		Sets the total width for the entire page. 
	*/
    width: 844px;
    background-color: #003300;
}

#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/BackGroundMenu.jpg');
    width: 827px;
    height: 36px;
    padding-top: 7px;
    padding-left: 17px;
    background-color: #FFFFFF;
    font-size: large;
    font-weight: 700;
}

#MenuWrapper a
{
    /*
		Links in the Menu are white. This gets overriden by styles in chapter 7.
	*/
    color: #FFFFFF;
    
}

.MainMenu
{
    /*
		The Menu gets a white border on all four sides.
	*/
    border: 1px outset #C0C0C0;
    width: 814px;
    height: 19px;
    background-color: #FFFFFF;
    font-size: 18px;
}

#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.
	*/
    margin: auto;
    font-size: 0.75em;
    width: 659px;
    border-left: 1px solid white;
    border-right: 2px solid white;
    float: left;
    background-color: #FFFFFF;
    min-height: 500px;
    padding: 10px;
    border: thin double #000000;
}

#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/TheSidebar.jpg);
    background-repeat: no-repeat;
    background-color: #33CCCC;
    width: 152px;
    min-height: 511px;
    float: left;
    padding-top: 10px;
	padding-left: 10px;
}

#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: 39px;
    background-color: #33CCCC;
    color: White;
    text-align: center;
    font-size: 0.68em;
    font-weight: bold;
    line-height: 39px;
    font-style: inherit;
    font-variant: normal;
    text-transform: lowercase;
}

.TheButton
{
    color: #308462;
}

StaticMenuItemStyle, .StaticMenuItemStyle a
{
    /* Defines the look of main menu items. */
    color: #707070;
    font-size: 15px;
    font-weight: normal;
    text-decoration: none;
    padding-left: 2px;
    word-spacing: normal;
    white-space: pre-wrap;
    text-align: center;
}

.StaticHoverStyle, .StaticSelectedStyle
{
    /* Defines the look of active and hover menu items */
    padding: 3px;
    margin: 3px;
    border: thin inset #003300;
    background-color: #C0C0C0;
}

.DynamicMenuItemStyle
{
	/* Defines the sub menu items */
	font-size: 16px;
	color: #707070;
	background-color: #cccccc;
	padding: 4px 2px 4px 3px;
}
Reply With Quote