![](https://programming.dev/pictrs/image/15c9c78d-2924-41e6-b392-0dc0657ff24e.jpeg)
![](https://programming.dev/pictrs/image/8140dda6-9512-4297-ac17-d303638c90a6.png)
3·
16 days agoI would advise against using pixels for margin/padding since it’ll have issues for users who have different zoom/text sizes than you do.
Stick to rem for margin and padding.
If you’re still early days with css, it’s worth pointing out that you should use a “css reset” file. It will solve problems for you that you don’t even know exist yet.
and those who prevent history from being taught, want to lift themselves up at the expense of others