Hi all,
I’ve been learning a little bit about resets to abolish all default settings the browser applies. I used a border on all elements to see the difference which I found pretty intriguing- Fascinating to see exactly how things are being displayed/interpreted with boxes visible.
I was wondering if anyone has any idea what the browser is actually adding (I used Chrome).
I’ve pasted some code below and the results both before and after using a reset. Does anyone understand what exactly is happening when the reset isn’t applied and why there appear to be a number more boxes?
And also is it good practice just to always use a reset so that you are completely controlling all the elements when you’re building?
Thanks.
Test
BEFORE reset
AFTER reset