Sunday, April 6, 2008

The Purple Cow

Ah yes I coded "The Purple Cow"
I stayed up way past one
But, I can tell you anyhow
It was somewhat fun.

The last few assignments I've been doing completely by hand in Notepad or any other text editor. This assignment is no exception, so I went with simplicity. I'm not a very good artist, so I chose a poem that needed little supplementary artwork or styling.

I won't go so far as to say I'm proud of the job I did centering the body of the page. The image is a link, but because I used position:relative in CSS the link doesn't cover the entire image, and the text can be selected from awkward parts of the page. I figured out how to remove the underline from links.

Also, I learned that you can use a comma to designate more than one class (or id) subtype to have the same style attributes in css (My homepage CSS file has .linklist a:hover, a:focus, a:active all using the same styles). I thought that was a nifty way to minimize CSS styles, especially for links.

When I was all done with Purple Cow, I made a parody page and hid the link to it in the original page. If I'd planned on doing it to begin with, I would have linked to a separate styleshteet rather than leave the style in the same page, but

  • I'm lazy

  • It loads quickly

  • I've put enough time in this ICE

  • I'm lazy

No comments: