Forums

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

Home Forums Design Pure CSS Equal Height Blocks in rows

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #146254
    karenmenezes
    Participant

    Hey, I’ve been struggling with CSS solutions for equal height blocks with margins in rows. I’ve finally come up with an article here http://blog.karenmenezes.com/2013/aug/9/all-things-are-not-created-equal/ and a demo here http://karenmenezes.com/snippets/equalheightcss-margins/index.html Feedback is welcome, do let me know if you encounter any issues with this. Of course, one can use Javascript, but this was a fun experiment playing around with display table!

    #148341
    karenmenezes
    Participant

    Thanks Basement 31. In general, cells with display table will try to accommodate the width of the content, so this can become an issue in any browser. Thanks for the link you’ve sent. I’ve used this hack before, the only issue I see is that if you declare a border on the equal height divs, the bottom border is not applied due to the overflow hidden, margin/padding hack.

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