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
  • #164684

    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

    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.


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