Everything looks perfect up until the third post. Extra padding is added. How do i prevent this. it seems if a heading is more than a certain length than it add extra padding . How do i prevent that
Here is my css relevant to that section of the code:
Hi wayne. The code you posted doesnât really demonstrate the issue, so preferably post a link to a working demo (even if itâs on CodePen or similar).
.section ul li { height: 100px; overflow:hidden; }
[/quote]I assume megazoid knows this but just for the OP, you never want fixed heights on any of your content section. Itâs just asking for trouble.
I wouldnât recommend sticking with that CSS solution he gave. If you give us a codepen or website where this is at, we can give you a better solution.
Adding in the clearfix to the section tag will fix the issue - although then you have a big space under all the section tagsâŚwhich I then fixed by removing your 3.4(think that was the number)em bottom padding on the section{} element.