And the same margin settings goes for the boxes underneath…
I’m sure there is an all natural explanation to it, I just can’t seem to find it
But I would really appreciate if someone would take a look at it, and if they could help me out !
Would as said, really appreciate if someone could help me on it! Btw. I know it isn’t perfect or ideally css-formatted, but please forgive me for that.
@Davidn I don’t know if you’ve noticed but this happens a lot lately, I mean this topic happens on the forum a lot. Today I read an article, and I should have bookmarked it, can’t find it back, that was giving an explanation and some fixes. I don’t remember the explanation but the fix works. Instead of giving up an inline-box property and having to rely on float (I hate floats for fixes), apply a small reset to the parent element: font size and line-height to zero… and it works! You may have to re set font size on some childs if there were inheritance, but I prefer that to the float fix, which does not work all the time without breaking a few things.
I HAVE to find the article back… but I was having a bit of a sick day and browsed the entire design planet on my phone…