View Single Post
Old 12-21-2015, 04:53 AM   #14
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,002
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by JSWolf View Post
That sort f thing bugs me as it's useless code bloat. Get rid of em and p.
You can't get rid of the p without changing the meaning. You can discard the em, which works great until you copy/paste this and want to change the zero to something else.

The two bytes saved in the size of the CSS stylesheet are completely insignificant.

The loss of utility is significant.

Do not over-optimise.


Your comment was also completely off-topic and irrelevant. ProDigit is asking about how and why to use CSS, not how best to optimise it down to the last byte. Sheesh.
pdurrant is offline   Reply With Quote