-
ksen8
I’m creating a page and have everything inside a container. I want to position the container so that it is centered, so that everything on my page is centered (since it’s all inside). But I can’t seem to figure it out. Right now the container and all of its content is stuck over on the left side of the screen.
Anyone know how to fix this? I know that I can mess with the padding and margin but I think there should be an easier way.
Don’t think the image is showing up. But here it is: https://ibb.co/C1QDYj1
-
Hi there,
Select the container, and set its
margin-left
andmargin-right
toauto
.if this doesn’t work, can you link us to the page?
Let me know 🙂
-
ksen8
Thanks for this. It worked 🙂
-
Glad to hear that 🙂
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.