Space Stuck between two Div Tags
Posted
by thatmaclad
on Stack Overflow
See other posts from Stack Overflow
or by thatmaclad
Published on 2010-04-18T19:05:40Z
Indexed on
2010/04/18
19:13 UTC
Read the original article
Hit count: 325
div
|css-layout
I've been working on a small blog form but have been having trouble with my Div tags. Whenever I create a second div tag to hold the Form a space has appeared between it and the previous Div tag. Is there anything wrong with my CSS?
body {
background-image: url(../images/body-bg.jpg);
font-family: arial;
}
#header {
background-image: url(../images/new-post-h.png);
background-repeat: no-repeat;
height: 124px;
width: 850px;
color: #ffffff;
margin: 0em 0px;
}
#form-bg {
background-image: url(../images/new-post-b.png);
background-repeat: no-repeat;
height: 500px;
width: 850px;
padding: 8px;
margin: 0em 0px;
}
#new-form {
height: 624px;
width: 850;
margin-left: auto;
margin-right: auto;
}
Here is what keeps on happening: http://i40.tinypic.com/j623i8.jpg
© Stack Overflow or respective owner