how to get rid of horizontal scrollbar html code example Example: css how to remove horizontal scrollbar html, body { max-width: 100%; overflow-x: hidden; }