Forcing a single page or use a full-page background
Forcing content to fit on a single page
If you want to make a container that will always take an entire page, no more, no less, you can define it like so:
CSS
You can then use it in your HTML
HTML
Using a full-page background
If you want to apply a background so it takes the entire page, use the technique above and set the background image on your page:
CSS
HTML
Last updated