treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Annoying DIV

  • I've added a div to the end of my content box: http://tinyurl.com/3eq9ue However whenever I try to get it to fit inside my content box it doesn't fit nicely. At the moment it is ok on the left hand side, but overflowing on the right. When I try and decrease the width in the css the left side becomes too short and the right is ok. Is there any way to get it to line up?

    Also, the div doesn't extend all the way down to the bottom of the content box, there is some space between it and the end. I really don't know how to fill that.

    Any help would be great! Thanks!
  • Try a margin-left of 3px and a width of 970px on your #end statement in your CSS.
  • Thanks, 3px and 966px seemed to do the trick.

    And the space between the grey div and bottom border was due to the fill colour of the bottom image which I missed at first.