I have just started designing, stuck on this.
I have a few div tags that I am trying to line next to each other with a 10px spacing between them. I just can't seem to get it to align though. They are contained in another tag (center_container) with the following code in my .css -
#container {
width:968px;
background:#FFF;
margin:0 auto;
padding-left:10px;
padding-right:10px;
overflow:hidden;
}
#container {
background-attachment: fixed;
background-image: url(../Images/Backgrounds/Main-bg.png);
background-repeat: repeat;
background-position: center center;
}
#left_menu {
width:180px;
float: left;
margin-top:10px;
margin-bottom:10px;
height:750px;
}
##center_container {
width:652px;
float: left;
margin-top:10px;
margin-bottom:10px;
height:750px;
}
#left_menu, #center_container {
margin-left: 10px;
}
#Picture1, #Picture2, #Picture3, #Picture4, #Picture5 {
width:130px;
height:130px;
float:left;
margin-left:10px;
position:relative;
}
I had the code without the margin-left and position in different states as well, with the same results. Anyone know how to get this aligned?
The pic below (attachment) is what loads in chrome, the 10px spacing is correct, but they get stuck below each other...