When creating a new div and adding text to it, there are a few considerations.
<div style="margin:auto;background-color:yellow;padding:10px;">text</div>
Instead of the default 100% width, we can add padding around the text "text".
To achieve this effect, we need to use a combination of margin:auto and padding.
Using "float:left" will not work with "margin:auto", so we must find an alternative solution.