Home › Forums › CSS › Dynamic width › Re: Dynamic width
July 15, 2012 at 8:15 pm
#106167
Member
@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.