I'm currently coding a website with basic html and css, for the sake of having it there, and I'm having a problem with widths.

I set my body to be 1086px width (max width of the elements in my design).

Although my computer's monitor is 1366px wide there's still a scrollbar at the bottom. Anyways to fix this?

overflow:hidden wont work because smaller monitors (1024px) wont be able to see all the content without the scrollbar, so it might be needed.

Thanks in advance!

EDIT: FOUND A SOLUTION:

```
{
overflow-y: auto;
overflow-x: hidden;
}

```