Treehouse: Grow your CSS skills. Land your dream job.

Spacing Issues

  • # February 27, 2012 at 4:53 pm

    Hey Guys,

    I know this is probably a pretty basic fix but I’m not an expert at these things. I want to minimize the space between the picture on the left and the tables below it. Click Here. Anyone know how to fix it?

    Thanks in Advance

    # February 27, 2012 at 5:17 pm

    Your tables cannot move up because the lower right sidebar image starts just above their position and it is included in the div that the picture on the left is in.

    You should make the sidebar a separate div all together and make it float right.

    The only other alternative would be wrapping those tables in a div and setting a negative margin on the top.

    Also you should check out some of the code that the “Take you pick” image is in:

    float is not an attribute. That needs to be in a style attribute. Fixing this may help with you solution.

    # February 27, 2012 at 5:45 pm

    @Schmotty Thank you so much, I kept missing that. That seems to have fixed it.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.