84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
最近发现一个很奇葩的问题,Header标签的内外边距设置无效,我的CSS代码如下:
header{
margin: 0; padding: 0;
}
这样单独选着此标签设置无效,而采用通配符*号设置又有效了:
*{
不知大家有没有遇到这样的情况,貌似单独清除Header标签的内外边距无效,ID或CLASS都一样,只有*号才管用??
人生最曼妙的风景,竟是内心的淡定与从容!
Are you sure it is a problem with the header tag and not the default of the body tag?
Are you sure it is a problem with the header tag and not the default of the body tag?