I see the following rules on a webpage:
* {
margin: 0px;
padding: 0px;
border: 0px;
}
Based on my knowledge, the webpage wants the IE browser to reset the margin/padding/border as 0 to avoid some potential problems.
If this rule is useful, why I don’t see this rule shown on popular website, such as yahoo, google?
Thank you
*rules match EVERYTHING, but it is not recommended to use them.The author’s intention might have been to do a CSS Reset to remove browser’s default CSS rules, but that’s not the good way. Try this one