Having trouble with my thumbnails

Discussion in 'CSS' started by Creative_illusion, Oct 10, 2011.

  1. #1
    Good morning,

    I've been working in this problem for almost 2 days now and search over the net for the solution but heaven gave me no answer. The problem is thumbnails are not properly align, does anyone here experience or got any suggestion to solve this error. I tried to add this code to my css .clear { clear: both; } but it doesn't help at all. I wonder if I am on the right track with this .clear code or I place it in the wrong file? Can anyone here please gave me some piece of advice or suggestions or best complete solution to this error.

    site: www[.]sgtdownload[.]com

    looking forward to your suggestions.

    Thanks,
     
    Solved! View solution.
    Creative_illusion, Oct 10, 2011 IP
  2. #2
    The second thumbnail titled 'Hot Chic' is taller than the rest. That's breaking the layout.

    EITHER
    make that particular image smaller

    OR
    add height to the .listtheme class. Try .listtheme { height: 205px; }
     
    czent, Oct 11, 2011 IP
  3. yho_o

    yho_o Well-Known Member

    Messages:
    354
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    #3
    {clear:both}
    Code (markup):
    will clear both sides left and right, so every thumbnail will appear in single line
    try this one for the heading + buttons + thumbnail container :

    {width:150px; height:150px; float:left; margin-left:15px;}
    Code (markup):
     
    yho_o, Oct 11, 2011 IP
  4. Creative_illusion

    Creative_illusion Well-Known Member

    Messages:
    2,702
    Likes Received:
    103
    Best Answers:
    0
    Trophy Points:
    175
    Digital Goods:
    2
    #4
    Thanks czent and yho_0. Problem solved.
     
    Creative_illusion, Oct 11, 2011 IP
  5. billu1995

    billu1995 Guest

    Messages:
    159
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can use script for fix images demension or simple css
     
    billu1995, Oct 11, 2011 IP