If a block element does not have a width specified, it will automatically take up all available space:
<div>text</div>
div { height: 100px; border: 1px solid red; }
: