Hi,
While struggeling with margins and paddings once I found this usefull css wildcard or universal selector:
*{<br />
margin: 0;<br />
padding: 0;}
What this asterix does (if we placed it correctly at the verry beginning of the css sheet) is reset all margins and paddings to zero.
This may come in handy when you strugle with margin or padding differences in different browsers.
A downside of this trick is that it slows down the page load.



0 Comments
You can be the first one to leave a comment.