+ 1

How to full width a border in html?

12th May 2018, 6:39 PM
Roland Doctor
Roland Doctor - avatar
14 Answers
+ 5
Roland Doctor, try this, hope it help html, body { padding: 0; margin: 0; } footer { width: calc(100% - 10px); }
12th May 2018, 7:02 PM
Amethyst Animion
Amethyst Animion - avatar
+ 5
Body has default margin style of 8px body { margin: 0px; }
12th May 2018, 7:01 PM
Toni Isotalo
Toni Isotalo - avatar
+ 4
use margin: 0; in css
12th May 2018, 6:51 PM
Amethyst Animion
Amethyst Animion - avatar
+ 4
width: 100% margin: 0 i think that will answer it?
12th May 2018, 6:52 PM
Kawaii
Kawaii - avatar
+ 3
What do you mean?
12th May 2018, 6:48 PM
Toni Isotalo
Toni Isotalo - avatar
+ 3
We can’t do anything with this information. Try to reset the default values of elements by using * operator. Even tho playground tells you it’s slow every site use it. Even sololearn. * { padding: 0px; margin: 0px; box-sizing: border-box; }
12th May 2018, 6:55 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
width:100%; not worked
12th May 2018, 6:51 PM
Roland Doctor
Roland Doctor - avatar
12th May 2018, 6:56 PM
Roland Doctor
Roland Doctor - avatar
0
no space in both sides of website
12th May 2018, 6:48 PM
Roland Doctor
Roland Doctor - avatar
0
use 100%
12th May 2018, 6:50 PM
KRITESH OJHA
KRITESH OJHA - avatar
0
use 1000 then 😂😂
12th May 2018, 6:52 PM
KRITESH OJHA
KRITESH OJHA - avatar
0
did not work margin:0;
12th May 2018, 6:52 PM
Roland Doctor
Roland Doctor - avatar
0
kawai did not work
12th May 2018, 6:53 PM
Roland Doctor
Roland Doctor - avatar
0
Roland Doctor Your programming code will wrong
12th May 2018, 6:53 PM
KRITESH OJHA
KRITESH OJHA - avatar