Results 1 to 3 of 3

Thread: Trouble with <div>...

  1. #1
    Join Date
    Oct 2008
    Location
    Brooklyn, NY
    Posts
    27
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default Trouble with <div>...

    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?
    Last edited by jihanemo; 12-27-2008 at 05:31 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Get rid of (highlighted):

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

    Code:
    #pic a {
    	float: left;
    }
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    jihanemo (12-27-2008)

  4. #3
    Join Date
    Oct 2008
    Location
    Brooklyn, NY
    Posts
    27
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    That's great! Thanks!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •