How to make the gray background go out a little bit to the side.
MartinStavland (10)

So I made a website with HTML and CSS. I've also got a gray background behind the text and pictures. But I wonder how to make the background color go a bit out. But I don't want the background color to cover the entire screen. Only behind the text and pictures + a bit out on the sides and top/bottom.

I would love some help :)

You are viewing a single comment. View All
vedprad1 (836)

Simple: Add padding: 50px; to #container in style.css. Change according to taste.

If this answers your question, please check the checkmark on the left side of this message. Thanks and Good Luck!