Gentoo Wiki:Sandbox

From Gentoo Wiki
Jump to:navigation Jump to:search

Default

Same paragraph

Note
This is a note.
Note
This is a note in the same paragraph.

This is some text in the same paragraph.
This is more text in the same paragraph.

Separate paragraphs

Note
This is a note.
Note
This is a note in a new paragraph.

This is a new paragraph.

This is a new paragraph.

margin-bottom: 10px

Same paragraph

Note
This is a note.
Note
This is a note in the same paragraph.

This is some text in the same paragraph.
This is more text in the same paragraph.

Separate paragraphs

Note
This is a note.
Note
This is a note in a new paragraph.

This is a new paragraph.

This is a new paragraph.

Conclusion

Unlike text, <div>s don't seem to be affected by paragraph spacing. This means that a compromise needs to be found such that they look good whether they're the last thing in the paragraph or not. I think margin-bottom: 10px looks better than the current margin-bottom: 20px that's coming from class .alert.