Site opening horizontal margin how to resolve

Asked

Viewed 51 times

-1

I am making a site that is almost ready and it is opening horizontal margin,

I’ve used

body{ 
    background:#CCCCCC;
    overflow-x:hidden;
}

but it didn’t work, there is some way to open margin without horizontal content?

  • Put in the rest of the code so we can analyze.

  • 1

    I didn’t understand the question "is there any way to open margin without horizontal content?". Review what you wrote and edit your question.

  • thanks for the help, I managed to find the error, like I was opening a margin to the left of the site with background without in anything.

1 answer

1

I didn’t quite understand the question but I suspect your problem will be solved with the following CSS:

body {
    margin:0;
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.