clagnut / webtypography

The source code for WebTypography.net, a practical guide to web typography.
WebTypography.net
Other
827 stars 120 forks source link

cleaning up CSS example code #11

Closed nevanscott closed 10 years ago

nevanscott commented 10 years ago

I thought it might be nice to standardize a bit on how the CSS coded examples are presented, since there were some inconsistencies before. I made the following changes:

In one instance (2.1.10), I also cleaned up some of the example HTML in an attempt to improve readability.

If another standard format would be preferable, let me know.

nevanscott commented 10 years ago

Forgot to mention a couple:

I also standardized on lowercase selectors.

And, in 2.1.2, I changed selectors like DIV#col1 to #col1, since an id selector is already unique.