Sidebar not aligning with body…help!
-
Hey, I was attempting to find and hide the page titles in the css and did this ” #post h3 {display:none;} ” After i saved, the sidebar broke and when i went back to the css, this disappeared and this is how the code currently looks:
body {
background: #FFFFFF url(http://districtrevival.com/images/bg1.jpg) repeat-x;
margin: 0;
padding: 0;
}a:link, a:visited {
color: #FF3399;
text-decoration: none;
}
a:hover {
color: #CC3366;
text-decoration: underline;
}
a img {
border: none;
}h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
}#header {
background-image: url(http://districtrevival.com/images/header1.jpg);
width: 1000px;
height: 170px;
margin: 0 auto;
padding: 0;
}
#menu {
width: 790px;
height: 27px;
color: #FFFFFF;
position: relative;
top: -30px;
left: -15px;
margin: 0 auto;
padding-top: 0px;
font-family: Georgia, Arial, Helvetica, sans-serif;
font-size: 16px;
}
#menu ul {
margin: 0 auto;
padding: 0;
}
#menu li {
width: 50px
height: 27px;
margin: 0 auto;
display: inline;
padding: 0 30px 0 30px;
}
#menu a, #menu a:visited {
color: #FFFFFF;
text-decoration: none;
background: none;
}#menu a:hover {
color: #FFFFFF;
text-decoration: underline;
background: none;
}
#maincontent {
width: 950px;
background: #FFFFFF;
margin: 0 auto;
padding-bottom: 30px;
padding-top: 0px;
}
#post h3 {
float: left;
width: 650px;
padding-right: 30px;
padding-left: 10px;
color: #000000;
}
#content a, #content a:visited {
color: #FF3399;
text-decoration: none;
}
#content a:hover {
color: #CC3366;
text-decoration: underline;
}
#sidebar {
width: 230px;
float: right;
text-align: left;
}
#sidebar h2 {
color: #000000;
font-family: Georgia, Arial, sans serif;
font-size: 14px;
}
#sidebar ul {
font-family: Arial, Helvetica, sans-serif;
color: #FF3399;
padding-top: 8px;
padding-left: 25px;
margin: 0;
height: 34px;
background: #FFFFFF url(http://www.districtrevival.com/images/sb_li.jpg) no-repeat;
text-align: left;
}
#sidebar li {
width: 205px;
list-style: none;
color: #000000;
padding-top: 4px;
font-size: 12px;
}
#footer {
width: 960px;
height: 65px;
background: #FFFFFF url(http://www.districtrevival.com/images/bottompic2.jpg);
background-position: bottom left;
background-repeat: no-repeat;
margin: 0 auto;
clear: both;
}
#footer p {
font-size: 11px;
text-align: center;
margin-top: 30px;
}
.comments {
display: none;
}Any clue as to what i did wrong? Site is http://www.districtrevival.com
- The topic ‘Sidebar not aligning with body…help!’ is closed to new replies.