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

Home Forums CSS Paragraph "jumps" when using max-width. Reply To: Paragraph "jumps" when using max-width.


That is because you did not set neither min-width or just width for your h1 and your other mistake is that your h1 and p are set to display:inline-block. Since inline block tends to align object IN-line, your objects have not had any kind of sizes that’s why the P was roaming around. And there is much more to explain like your container width, and everything, but this are basically two, or three, main reasons why your p was roaming.