Fix side space on HTML/CSS pages

So this is really embarrassing it took me this long to find this simple fix but here it is. Instead of doing what I was doing (using inspect element, deleting classes and nodes to find out what is causing the problem), just add this to code to your css and problem solved.

html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

Leave a comment

Your email address will not be published. Required fields are marked *