Posts: 73
Location: San Jose, California
|
I am having problems aligning my div's I want one on the rightside of another...heres the CSS code..
Code:
.news {
margin-top:30px;
width:500px;
background-color:#86a8b8;
text-align:left;
padding-left:5px;
padding-top:2px;
padding-bottom:2px;
font-size:16px;
font-family:arial;
color:#000000;
}
.advert {
margin-top:30px;
width:200px;
background-color:#86a8b8;
text-align:left;
padding-left:5px;
padding-top:2px;
padding-bottom:2px;
font-size:16px;
font-family:arial;
color:#000000;
}
...This is annoying me lol! I can't figure this thing out, and it's also always on bottom or top depending where the div is in the code :P
|