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

ok, last help needed for this issue

  • # November 18, 2012 at 7:56 pm

    Here is the page:

    The issue: The bios are supposed to all be inside their div container, but they are not. I have played with the div tags, css, etc, and I can get it to work with the first 2, but the third one and fourth completely break it.

    Can someone please help me resolve this?


    # November 18, 2012 at 7:58 pm

    Add `class=”clearfix”` to each of the bios.

    # November 18, 2012 at 8:06 pm

    That messed up the first bio, and did nothing to the others. I added it to #bio-content

    # November 18, 2012 at 8:20 pm

    ….Because you still didn’t close all DIVs properly.

    # November 18, 2012 at 8:21 pm

    they are closed now, I believe. I am sorry about all the confusion, I am just frustrated after messing with this all day.

    # November 18, 2012 at 8:22 pm

    @cm123077 : If you are floating content around an image, than you need to clear the content underneath, not the div itself. Like TheDoc had mentioned you need to add class='clearfix' to the elements that are underneath the floating elements.

    .clearfix {
    # November 18, 2012 at 8:29 pm

    EDIT: nevermind. DIVs still not properly closed.

    # November 18, 2012 at 8:45 pm

    thank you everyone…it works

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

You must be logged in to reply to this topic.