WordPress.org

Ready to get started?Download WordPress

Forums

Pictures wont align properly (5 posts)

  1. djclewes
    Member
    Posted 3 years ago #

    Hi i want to align my staff pictures with a small profile like this

    picture this is (name) and volunteers as ( job)
    From ( town)
    Works ( times)

    picture this is (name) and volunteers as ( job)
    From ( town)
    Works ( times)

    picture this is (name) and volunteers as ( job)
    From ( town)
    Works ( times)
    ect

    but when doing this the pictures display slanted diagnoly
    and keeps slanting with every picture you put on. my website is http://lanarkshirecommunityradio.info and its the staff page hopw can i fix this thanks.

  2. Matthew Denton
    Member
    Posted 3 years ago #

    Hi, You need to clear the floats between the entries..

    Basically after each staff member put this bit of html:
    <div style="clear:both"></div>

  3. theApe
    Member
    Posted 3 years ago #

    I always use...
    <div style="clear:both"><!-- --></div>
    ... to clear floats.

    There was a reason for the <!-- -->, but I can't remember it at the moment.

  4. Root
    Member
    Posted 3 years ago #

    Clearing floats that way with additional presentational markup is just sooooooooooooooooooo last year !

  5. Matthew Denton
    Member
    Posted 3 years ago #

    old versions of IE don't render empty divs... go Microsoft...

Topic Closed

This topic has been closed to new replies.

About this Topic