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

[Solved] content not inside the div

  • # September 12, 2010 at 7:58 pm

    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.

    # September 13, 2010 at 12:43 am

    just add overflow: hidden; to your porfolio item and that will fix it.

    # September 13, 2010 at 3:24 am

    Haha, so simple, thanks a lot.

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

You must be logged in to reply to this topic.