[thelist] Tip -- Object Oriented Programing

Erika Meyer erika at seastorm.com
Tue Jul 4 20:03:08 CDT 2000


>The kangaroos scattered, as predicted, and the visiting Americans nodded
>appreciatively... then did a double-take as the kangaroos
>reappeared from behind a hill and launched a barrage of
>Stinger missiles at the hapless helicopter.


Perhaps this contains a lesson that goes even deeper than object 
reuse... to the ultimate consequences of objectification & use.
____________________________________

<tip type="css" author="erika">

It seems you can safely put a

<td bgcolor="white">
into the body, while at the same time putting

td {background-color:black;}
into the stylesheet.

The browser that can understand CSS will pull see CSS declaration & 
ignore the depreciated attribute.  The browser that does not 
understand CSS will do the opposite.

This is handy for if you have CSS declarations for light text on dark 
background, but you want it to show up as default dark text against a 
light background in non-CSS browsers.

It helps eliminate those pesky <body> attributes (text, alink, vlink, etc.)

</tip>

degrade safely.

Erika





erika at seastorm.com
http://www.seastorm.com




More information about the thelist mailing list