Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help with divs being misaligned

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #164684
    jtorral
    Participant

    This has probably been asked 10000 times but I cant find how to fix this with just css.

    I have a php loop which draws a div to show photos.

    while there is a photo do {

    <div style='margin-left:5px;margin-bottom:5px;width:250px'> photo code here </div>

    }

    If you look at this picture

    https://plus.google.com/photos/112546997525237603910/albums/5987071561215198017?authkey=CID22fvgmdGPyQE

    You will see my problem is I get what is represented by the top image and what I want is the lower image

    Any help would be appreciated.

    Thanks

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.