+ 1
Width question
https://code.sololearn.com/WTxXn439vSPt/?ref=app So in the Chrome Browser, the width reaches to the end of the screen and cuts off the word "Hello". How can I make the white space equal on both sides? I've tried width:99%; but is that equal to the left side? (If you don't know what I'm talking about, look at the div. Look left until you reach the end of the div. There's white space in between the div and the edge of the screen.)
1 Answer
+ 1
Issue is caused by default body margin
Two solutions
1.
body{
margin:0;
}
2.
delete position: fixed
#Header{
position: absolute;
top: 0;
left: 0;
right: 0;
}