CSS advice for beginner
So I decided to start learning css along side html. I have only just started this and have a basic knowledge of html but I have a question around css stylesheets and page layout in web browser. Some of the tutorials I have watched have said about entering a piece of code at the top of your css style sheet to reset the margins etc so when viewed on any browser it looks the same, they have supplied links to a webpage with the code to be copied. My question is does this have to be done or is there another way to do it? I don’t really want to just copy code I would like to actually understand what it is I am doing, I did input the reset code into my style sheet just for testing purposes and it did work but then when I have added other styles further down this has then affected the layout again. I would just like to understand the best way to reset margins etc so they are viewed correctly in the different browsers. Any advice would be great 👍