Width 100% with white borders around it. WHy?

后端 未结 2 416
傲寒
傲寒 2020-11-30 13:12

Ok, I\'m trying to design a website that has an image at the top that spans the full width of the browser. And below that I want to put different colored div containers that

2条回答
  •  -上瘾入骨i
    2020-11-30 13:58

    did you tried to reset the margin and padding of all element to 0, if not then try following code into your css file.

    *{
      padding:0;
      margin:0;
    }
    

提交回复
热议问题