Archive for the 'CSS' Category

CSS reset and the universal selector (*)

Recently, I’ve been noticing a good amount of people are still using the universal selector (*) to reset the margin and padding of all elements. I must admit, I did the same thing until I read Eric Meyer’s artilce on Formal Weirdness. Eric’s article explains why you don’t want to reset every element on the page, especially form elements. Others are also expressing how the universal selector is much slower than specifying the individual elements.

Read more on CSS reset and the universal selector (*)…