0

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 👍

7th Jul 2020, 10:32 AM
Adam
Adam - avatar
2 Antworten
+ 10
Nothing to worry CSS us easy First complete your CSS course https://www.sololearn.com/learn/CSS/1078/?ref=app https://www.sololearn.com/Course/CSS/?ref=app after you complete have a look at this link for the best site to learn advanced CSS for beginners. https://www.webfx.com/blog/web-design/20_websites_learn_master_css/ Best amongst them 🙂 •CSS Basics. •Eric Meyer: CSS. •456 Berea Street – CSS category •Learn CSS Positioning in Ten Steps. •Andy Budd CSS/Web Standards Links. •W3Schools CSS Tutorial. Some tips and advice pls read very influential and amazing :) https://html-online.com/articles/useful-beginner-css-tips/
7th Jul 2020, 10:36 AM
Nilesh
Nilesh - avatar
0
I am a lot further through another course not on solo learn so i have done more than shows here, but thank you for the advice and links.
7th Jul 2020, 2:40 PM
Adam
Adam - avatar