Hello,
I am working on Chapter 6 and I am having problems with the DarkGray theme not displaying as it should. Here is what it looks like
http://i61.tinypic.com/zjb6nd.png and I loaded the default Chapter 6 files that I have not made any changes to and it looks the same.
http://i60.tinypic.com/ifuyjm.png
Now the website displays correctly, but just the code on my machine doesn't. Here is DarkGray.css and I have done nothing to it
Code:
*
{
/*
Defines the main font used throughout the entire site.
*/
font-family: Verdana, Arial, Sans-Serif;
}
body
{
/*
Clears white space around the body and sets the background color to a dark grey.
*/
margin: 0;
background-color: #565656;
}
a
{
/*
Clears the underline on normal links, and gives them #FE601A (orange) as the text color.
*/
color: #FE601A;
text-decoration: none;
}
a:hover
{
/*
Underlines links when the user hovers the mouse over them.
*/
text-decoration: underline;
}
h1
{
/*
Makes h1 elements smaller than their browser default.
*/
font-size: 20px;
}
header
{
/*
Sets the background of the header to the same color as the right-hand side of the
header image. This way, the header can expand to the right.
The margin at the bottom creates some room between the header and the menu and the main content.
*/
background-color: #E34600;
margin-bottom: 20px;
}
header a
{
/*
The header a is nested in the header. It provides a link to the homepage,
and sets the header image background.
*/
background-image: url(Images/Header.jpg);
background-repeat: no-repeat;
width: 944px;
height: 138px;
display: block;
}
nav
{
/*
Floats the entire menu on the left of the content.
*/
width: 130px;
float: left;
padding: 10px;
padding-top: 0; /* Reset the top-padding. The first menu item (home) already adds some padding to its top to create room between the nav element and the first menu item */
background-color: #F8F4EF;
margin-left: 35px;
margin-right: 20px;
font-size: 0.8em;
}
.FirstLevelMenuItems
{
padding-top: 10px;
}
section#MainContent
{
/*
Defines the main content area. The text color is white (on the gray background set on the body).
The #MainContent section element has a minimum height of 370 pixels, but can grow if necessary.
The font-size is 80% of its parent element, which in this case comes down to 80% of the font
the user has specified as the default font in the browser.
*/
color: white;
font-size: 0.8em;
width: 600px;
min-height: 370px;
padding: 10px;
float: left;
}
aside#Sidebar
{
/*
The Sidebar is positioned absolutely at the right of the page.
It has the same font-size and color as #MainContent
*/
font-size: 0.8em;
width: 124px;
color: White;
float: left;
padding-top: 10px;
}
footer
{
/*
The footer is positioned below all other content.
At the top, it gets a border with a dashed style, while all other sides have no border.
The line-height centers the text in the footer vertically.
*/
text-align: center;
border-top: 2px dashed gray;
height: 37px;
line-height: 37px;
clear: both;
background-color: #FCBB5B;
}
.Introduction
{
font-style: italic;
}
I am confused