Log in

View Full Version : Resolved Trouble with <div>...



jihanemo
12-27-2008, 04:56 PM
I'd like to line up the thumbnail images on this page into a row: http://americanchic.net/temporary/testpicpop At the moment, they're lined up vertically. I'd like them to be positioned next to each other. Is there a problem with my CSS file? I'm having trouble fixing it myself. Can someone fix the code so that the thumbnails line up next to one another?

jscheuer1
12-27-2008, 05:08 PM
Get rid of (highlighted):


#pic {
background-color: #FFFFFF;
left: 10px;
position: relative;
top: 10px;
width: 80px;
}

and add:


#pic a {
float: left;
}

jihanemo
12-27-2008, 05:21 PM
That's great! Thanks!