Hi, I've gone wrong somewhere in CSS styling . How do I back track
brushwipe Sep 2, 2013 7:36 AMHi, I have got to Part Three of David Powers' Dreamweaver CC course and found it very good. Unfortunately, as a beginner, I have made a mistake in the styling of the Bayside Beat site. And need to remove the css coding to the point where I am positioning the Be where its at para. It sure would be good if David Powers had a contact address! I noticed that when I tried to back track that the hero selector was missing so I created another and the whole thing is now a mess. Anyone help?
@charset "utf-8";
body {
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
color: #151515;
background-color: #C0DEED;
}
#wrapper {
background-color: #ffffff;
width: 100%;
min-width: 740px;
max-width: 1000px;
margin-left: auto;
margin-right: auto;
}
#hero img {
max-width: 100%;
}
h1, h2 {
color: #3399cc;
font-family: source-sans-pro;
font-style: normal;
font-weight: 600;
}
h1 {
font-size: 72px;
text-align: center;
text-transform: uppercase;
margin-top: -13px;
}
#main {
width: 58%;
margin-left: 2%;
float: left;
}
#sidebar {
width: 34%;
margin-left: 4%;
float: left;
}
footer {
clear: left;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 2%;
background-color: #43a6cb;
color: #ffffff;
}
figure {
width: 420px;
}
figure img {
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
background-color: #ffffff;
-webkit-box-shadow: 1px 1px 15px #999999;
box-shadow: 1px 1px 15px #999999;
}
figcaption {
display: block;
font-weight: bold;
font-size: 14pt;
text-align: center;
}
.centered {
margin-left: auto;
margin-right: auto;
}
.floatleft {
margin-right: 10px;
float: left;
}
.floatright {
margin-left: 10px;
}
a {
font-weight: bold;
text-decoration: none;
}
a:link {
color: #ff6600;
}
a:visited {
color: #ff944c;
}
a:hover, a:active, a:focus {
color: #7f3300;
text-decoration: underline;
}
#mainnav ul {
list-style-type: none;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 0px;
padding-top: 0px;
padding-right: 0px;
padding-bottom: 0px;
padding-left: 0px;
}
#mainnav a {
width: 20%;
display: block;
float: left;
text-align: center;
background-color: #4d4d4d;
color: #ffffff;
padding-top: 6px;
padding-bottom: 6px;
}
#mainnav a:hover, #mainnav a:active, #mainnav a:focus, #mainnav a.thispage {
text-decoration: none;
background-color: #43a6cb;
}



