It's easy if they all have the same amount of content in each grid tile, sure. But at the moment I have a client who keeps making these crazy long titles and it throws the tiles/grid out of alignment. I can truncate the titles but that's not ideal.
I found a way to do it with jQuery but I always feel like that's the poor mans solution. Is there a way with CSS?
It's easy if they all have the same amount of content in each grid tile, sure. But at the moment I have a client who keeps making these crazy long titles and it throws the tiles/grid out of alignment. I can truncate the titles but that's not ideal.
I found a way to do it with jQuery but I always feel like that's the poor mans solution. Is there a way with CSS?
display:flex or what you did are the only options. Flex only works for modern browsers so if you need to support IE, you'll need a JS shim.
Signature/Avatar nuking: none (can be changed in your profile)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum