|
This is a good tutorial to get people's feet wet in CSS. I like the layout but would suggest splitting lines at the semi-colon. Having one style per line really helps readability.
I have one criticism though in the example you choose, namely bigfont. Though technically valid it goes against the whole CSS concept of separating semantics from style. A designer should ask themselves why they want a font bigger. Normally this is because it marks a section, chapter, or some other structural entity. In this case, use the appropriate header tags (H1, H2, H3...). That's what they are for!
This not only saves having to define your own class, but it provides consistent information for screen readers, search engines, and other non-visual browsers of your page.
I never use the HTML font tag. It's presence is generally a good indication that the design is wrong.
__________________
"out of environment space"
|