[Webmaster_forum] date marking

Dave Schuppert dwsmark@ameritech.net
Wed, 19 Oct 2005 13:19:05 -0500


--=====================_262463963==.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

I've been struggling with date markings ever since the new rulings 
were announced.

Graying out the text worked for a while, but now as the end of the 
calendar year approaches, the whole calendar is grayed.
Red didn't work either because it made the "dates" look like special items.

Likewise, inserting <text> or <span> tags has proved to be a royal pain.

Since most of my pages are in tables and css controlled, it became an 
easy matter the change the class.

TD.cps10     {FONT: 10pt arial,helvetica, serif;}
TD.cps10Past {FONT: 10pt arial,helvetica, serif; text-decoration: line-through}

code:

from-
<td class="cps10">
to-
<td class="cps10Past">

By simply creating a duplicate style line, appending the name with 
Past,  and adding text-decoration: line-through, all formatting is 
preserved. Since I reuse many of my tables from year to year, it is 
much easier to remove Past than long <text> or <span> strings.

Now all I have to do is remember where I placed all the dates.

Food for thought.

D/Lt David W. Schuppert, SN
District 20 Electronic Information Officer (DEIO)
D20_Webmaster@uspsd20.org


--=====================_262463963==.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<body>
I've been struggling with date markings ever since the new rulings were
announced. <br><br>
Graying out the text worked for a while, but now as the end of the
calendar year approaches, the whole calendar is grayed. <br>
Red didn't work either because it made the &quot;dates&quot; look like
special items.<br><br>
Likewise, inserting &lt;text&gt; or &lt;span&gt; tags has proved to be a
royal pain. <br><br>
Since most of my pages are in tables and css controlled, it became an
easy matter the change the class. <br><br>
TD.cps10&nbsp;&nbsp;&nbsp;&nbsp; {FONT: 10pt arial,helvetica,
serif;}<br>
TD.cps10Past {FONT: 10pt arial,helvetica, serif; text-decoration:
line-through}<br><br>
code:<br><br>
from-<br>
&lt;td class=&quot;cps10&quot;&gt;<br>
to-<br>
&lt;td class=&quot;cps10Past&quot;&gt;<br><br>
By simply creating a duplicate style line, appending the name with
<i>Past</i>,&nbsp; and adding <i>text-decoration: line-through, </i>all
formatting is preserved. Since I reuse many of my tables from year to
year, it is much easier to remove <i>Past</i> than long &lt;text&gt; or
&lt;span&gt; strings.<br><br>
Now all I have to do is remember where I placed all the dates. <br><br>
Food for thought.<br>
<x-sigsep><p></x-sigsep>
D/Lt David W. Schuppert, SN<br>
District 20 Electronic Information Officer (DEIO)<br>
D20_Webmaster@uspsd20.org<br><br>
</body>
</html>

--=====================_262463963==.ALT--