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

[Solved] content not inside the div

  • http://lsw-design.com/tf/darkgreen/?page_id=9

    The image and text should be inside the div called portfolio-item, but for some reason they are refusing to do it, i have played with the widths of the elements and tried takeing out the images to see if they are the problem but that didnt work either. The 2 dotted lines at the top of the content is meant to be the border-bottom of each of the items but as you can see for some reason the content has been shoved below it.

    If anyone can help that would be great, i have asked at 2 forums so far and had no help, i only started learning a week or so ago so i don't know whats going on.
  • just add overflow: hidden; to your porfolio item and that will fix it.
  • Haha, so simple, thanks a lot.