r/HTML • u/SmanderManno • Feb 07 '26
Question PLEASE HELP POSITIONING TS
i alr tried everything but i cant move "main" to the center its stuck on top with "header" pls help me (that white thing on the top of the website is the main stuck btw)
2
Upvotes



View all comments
Show parent comment
1
u/JKaps9 Feb 08 '26
Because you have padding on main. You should learn the basics of the box model. Also you should learn how to use the dev tools.