Q:

CSS - How to remove white  margins

I've placed a picture on my html page but it lefts some white margins at the top and on both sides. How do I remove those? I've tried setting  margins to zero.

body div:nth-child(1) {
    background-image: url('/resources/picture.jpg');
}

A:

maybe your body has some margins.
Try adding this css - 
body, img{
    margin:0;
    padding:0;
}

