Hi David,



There is nothing like some CSS are taken and others aren't. But it matters where you are putting the CSS. In your case there was something that put a padding between your <html> tag and the container of that tag. Even if you changed the padding of the <body> element the padding between the <html> element and its container remained, since the <body> element resides inside the <html> element and a change in its style does not affect its parents style. I hope your question was answered. For more information nested html and CSS i would ask you to follow the tutorial at W3Schools Online Web Tutorials .



Mark this answer helpful if you found it to be so



Thanks