+ 1
How to full width a border in html?
14 Answers
+ 5
Roland Doctor, try this, hope it help
html, body {
padding: 0;
margin: 0;
}
footer {
width: calc(100% - 10px);
}
+ 5
Body has default margin style of 8px
body {
margin: 0px;
}
+ 4
use margin: 0; in css
+ 4
width: 100%
margin: 0
i think that will answer it?
+ 3
What do you mean?
+ 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;
}
+ 1
width:100%; not worked
+ 1
hereis the code
https://code.sololearn.com/WGvA6c5HCX3m/?ref=app
0
no space in both sides of website
0
use 100%
0
use 1000 then đđ
0
did not work margin:0;
0
kawai did not work
0
Roland Doctor Your programming code will wrong