Forums

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

Home Forums CSS Dynamic width Re: Dynamic width

#106167

@Jeager As far as I can tell, your solution is fine. Only thing I would add: no need to float the paragraphs, simply add vertical-align: top; to .slide. That way you are directly dealing with the issue, rather than introducing a ‘hack’. The default value for vertical-align is baseline, which is why introducing a paragraph causes such a visible shift.