In the design spec for this project, it shows a 10px space between the left side of page and the Tea Cozy logo. In my project when I put this logo onto the page the space between the left side of page and my Tea Cozy logo is more than 10px by default. Why when I put elements onto the page does it not put them completely to the left of the page but instead it automatically creates an empty space between the element and left side of page? How can I change the size of space on left side of page?
Hi there! By default, HTML objects like headings, paragraphs, etc. have initial styles including margins and paddings. Here’s the list of these elements with their default values:
For this reason, the commonly used practice is to set these values to zero explicitly.
You can learn more about here:
That’s really helpful. Thanks