SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    Apr 2005
    Location
    Auckland, New Zealand
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DIVs moving sideways instead of moving down

    Hey guys

    I have this site im currently working on: http://www.dev.webtastix.net/cva/ind...=shop&catid=12

    The trouble im having is if you click the "More Info" link next to a product it moves the boxes underneath it sideways, what we really need to happen is it moves everything down like it does on the pages where there's only 1 product per category...

    Can anyone see what I've done wrong or the best way to solve this issue?

    Huge thanks

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,200
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    Hi Shane. One option is to change float: left to display: inline-block:

    Code:
    #gallerybox {
    float: left;
    display: inline-block;
    vertical-align: top;
    }
    Off Topic:

    You've got two float declarations in there, so make sure to remove them both!

  3. #3
    SitePoint Zealot
    Join Date
    Apr 2005
    Location
    Auckland, New Zealand
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ive been struggling with that one for hours! thank you sooo much....

    its always something so simple that makes it work

    a huge thank you

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,200
    Mentioned
    456 Post(s)
    Tagged
    8 Thread(s)
    No probs, glad to help!


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
  •