How to remove padding in the header?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
19 views
For some reason, the header is indented. reset.css connected
Mdwho

.title { font-size: 25px; font-weight: 700; }


5ae99928a6e07062310743.png
by | 19 views

3 Answers

0 like 0 dislike
by
0 like 0 dislike
If you have no reset styles, then the browser will add the padding. List
.title { font-size: 25px; font-weight: 700; margin:0; padding:0; }
by
0 like 0 dislike
Padding the browser puts..
That would remove the need to prescribe the right tag (in your case it is .title) properties:
margin 0; padding: 0;

margin 0;(padding around) padding 0;(padding on the inside.)
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
110,608 questions
257,187 answers
0 comments
40,796 users