I have been attempting to position two divs
with images next to the other divs but they appear underneath them instead. Can someone help me figure out what I am missing?
CSS
#main {
margin: 0 auto;
}
#header {
clear:both;
float:left;
width:100%;
}
#header {
border-bottom:1px solid #ccc;
}
.clear {
clear: both;
}
#header p, #header h1, #header h2 {
padding:.4em 15px 0 15px;
margin:0;
}
#header ul {
clear:left;
float:left;
width:100%;
list-style:none;
margin:10px 0 2px 0;
padding:0;
}
#header ul li {
display:inline;
list-style:none;
margin:0;
padding:0;
}
#header ul li a {
display:block;
float:left;
margin:0 0 0 1px;
padding:3px 10px;
text-align:center;
background:#eee;
color:#000;
text-decoration:none;
position:relative;
left:15px;
line-height:1.3em;
}
#header ul li a:hover {
background:#369;
color:#fff;
}
#header ul li a.active, #header ul li a.active:hover {
color:#fff;
background:#000;
font-weight:bold;
}
#header ul li a span {
display:block;
}
#rand_v{
margin-top: 5px;
width: 130px;
padding:1em;
height:auto;
position:relative;
z-index:2;
border:1px solid #bcbcbc;
}
#rand_p{
margin-top: 10px;
width: 130px;
padding:1em;
height:auto;
position:relative;
z-index:2;
border:1px solid #bcbcbc
}
.box {
display:inline-block;
position: relative;
margin: 1%;
float:right;
min-width:30%;
height:242px;
border:2px solid #ccc;
background-color: #f0f0f0;
}
.littlebox {
border: 1px solid #d3d3d3;
margin:10px;
width: 75px;
height: 75px;
padding: 5px;
}
table{
width:555px;
}