Trying to remove 8px margin/padding from around my site
-
Hey all.
I am building a wordpress site from scratch. I have the sandbox 1.6.2 theme and have decided to use only my css. I haven’t gotten far, but since I have very little CSS done, it should be easy to track down my problem.
I have exactly 8 px of white space around the whole site. I set margins and padding to zero for every potential selector I could think of, but the margin is still there.Thanks so much. I would love to hear your ideas. I have googled by butt off looking for the answer to this.
here is my CSS:
#wrapper {
margin:0;
padding:0;
}#header {
width:100%;
height:210px;
background-color:rgb(59,28,18);
background-image:url(‘http://withsugarontop2.files.wordpress.com/2011/02/headerbackground1.png’);
background-position:center;
margin:0;
padding:0;
}div#header h1 {
margin:0;
padding:0;
}div#blog-description {
display:none;
margin:0;
padding:0;
}div#header span {
margin:0;
padding:0;
}div#header a {
display:block;
width:800px;
height:210px;
margin-left:auto;
margin-right:auto;
background-color:rgb(59,28,18);
background-image:url(‘http://withsugarontop2.files.wordpress.com/2011/02/withsugartitle1.png’);
background-position:center;
background-repeat:none;
text-indent:-1999px;
overflow:hidden;
margin-top:0;
padding:0;
}.skip-link {
position:absolute!important;
clip:rect(1px,1px,1px,1px);
}
- The topic ‘Trying to remove 8px margin/padding from around my site’ is closed to new replies.