Spaces and new lines with HTML and CSS

css, html

Solution

Use `<br>` to represent a linebreak inside a block element and use `&nbsp;` to represent a non-breaking space inside an inline element. Nothing more. For the remnant just use CSS the smart way with help of under each the `display`, `float`, `padding` and/or `margin` properties.

Problem

Should I use `<br />` and `&nbsp;` in HTML to position elements, or should I just use CSS display:inline with padding/margin for positioning and all styling? what are pros and cons with both?

Original source