Well, -5px would move it in the opposite direction. A margin is how many pixels you want to move it. Since you specified “Top”, you are trying to say I want to put a 5px margin at the top of the page, but by using a “-” sign, you are giving it a negative margin, thereby making the top of the page 5px ABOVE the screen. If you changed it to bottom, then -5px would be appropriate.
Your css should work if you use 5px instead of -5px. I’ve tested it so I know its correct. If it doesnt work for you then its probably a caching issue.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com