S
S
slava kk2019-03-06 20:03:48
css
slava kk, 2019-03-06 20:03:48

How to remove those lines around the div?

5c7ffd1fd0a50966589540.png
They may not be visible in the photo, but they are there. How to stretch a div to the whole page so that there are no these lines on the side and bottom?
CSS:

width:100%;
        background-color: #444849;
        min-height: 320px;

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
slava kk, 2019-03-06
@slavchickalpha

Thanks everyone! I figured it out, it was in the user agent stylesheet

V
Vitaly Kirenkov, 2019-03-06
@DeLaVega

body {
  margin: 0;
  padding: 0;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question