I've created a div over another div. The top div has a margin-bottom: 0px; The bottom div has a margin-top: 0px;
Why is there about 15 px between them?
I've created a div over another div. The top div has a margin-bottom: 0px; The bottom div has a margin-top: 0px;
Why is there about 15 px between them?
Last edited by Glenn; Jul 07th, 2018 at 10:21 PM.
aspecialspot.com
between the image and nav
open in up in a browser tab left click , inspect element and move the mouse around on the divs it gives a pretty nice visual representation of whats goig on once you find it click it then lok in your console all the rules applied to that div, when you find the margin being applied in the top left corner of that little section will be something like ...css.mycssfile that would be the source from where this rule is coming from. Click that , find the rule then leave the browser and go edit it on whatever ide you are using