Forums

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

Home Forums CSS [WordPress] Is this caused by float:left?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45885
    Watson90
    Member

    Hi everyone

    I have edited a blog for a friend of mine to kind of look like individual post snippets, however on one or two of the pages the boxes aren’t sitting next to each other as they are in other pages. Could anyone enlighten me as to why this is happening? I’ve tried everything!

    Here is the link: http://shaunjeffersphotography.com/blog/page/4/

    Thanks

    #140790
    TheDoc
    Member

    Instead of using floats, you can use `display: inline-block;` and then you won’t have to worry about clearing anything. You’ll need to look into some of the white space issues that come along with inline-block: http://www.ternstyle.us/blog/float-vs-inline-block

    #140792
    Watson90
    Member

    Okay, thanks @TheDoc :)

    I will use this tomorrow and give your link a read :) thanks for your help and reply.

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