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

Home Forums CSS Positioned blog title text overlaps paragraph

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #236808

    I am trying to style a masonry blog, img on top, title in the middle and the excerpt on the bottom. The problem is when a title is long, it overlaps with the paragraph below. I tried floating and clearing. Nothing seems to works. Here you can see what I mean. thanks

    here is the code in question:


    You’re using positioning so naturally clearing etc won’t work.

    This situation is precisely why positioning is not ideal.

    The majority of masonry layouts are handled by Javascript for this very reason.

    You build your predefined container blocks and let JS lay them out for you.

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