You ask me, if you are missing something?
Well, let it me tell you that way.
Yeah, you indeed missing something.
You ask for help in this community, do not follow suggestions that are being made and then you are wondering why it is not working.
You completely ignored the first step of my advice.
In my initial response I told you what the actual problem is.
Then you were forced to made some hacks which led into more problems.
And that’s the reason why you want to set proper CSS as soon as you place your first div into the page.
This was my first reply. In my 2nd one, I explicitly explained you, how to implement it and you simply denied. Instead of, you claimed that there would be still problems remaining.
Sorry for being a little bit harsh, but people do help other people in the community in their spare time and it is really frustrating for us, when advices are not being implemented, the way we described.
I don’t know which adjustmens you made. Please undo them all and follow the steps I gave you in my previous answer.
This is the solution.