Lab 4: CSS

This here is a paragraph. It has text in it and stuff. In general, the first line of a paragraph really ought to be indented. I mean, if you want to avoid being a barbarian who knows nothing about traditional typesetting. This style sheet can make it so.

Anyhow, one of the things I hate about ordinary HTML is that block-quotes aren't always italicized. They really ought to be according to traditional typesetting rules, no? So, anyhow, I like to fix that. The same reasoning applies to in-line quotes.

T'was brillig, and the slithey toves did gyre and gimble in the wabe. All mimsey were the borogroves, and the mome raths outgrabe. Beware the Jabberwock my son! The jaws that bite! The claws that catch! Beware the jub-jub bird, and shun the fruminous bandersnatch!

So, there's some stuff you might not notice. Some of the words here are links, but the styles are set up to hide that fact, as a sort of "subliminal message" kind of thing. Also, the link used for my email address below uses its own style.

Oh yeah, one additional thing. I like to use the "address" tag for my name and address because it has some semantic value. But it doesn't by default look very good. I tweak it a bit. One reason: my name and email address happen to have the same number of characters in them. So if I use a fixed-width font, the left and right edges will actually line up perfectly. Also, fixed width fonts work a bit better when you dynamically switch between normal and italic. Hover over my email address to see what I mean.


back

Valid XHTML 1.0! Valid CSS!

Doug DeJulio
ddj+@cmu.edu