FYI, the "A" commands for colorizing links in the style sheet now picks up all A-type tags. I'm using A NAME tags all through the Doris Website and Weblog as targets, and had to change each one by hand because it was colorizing the headings.
- tom moody 5-03-2002 5:06 am

Did you already do this? There might be a way around.
- jim 5-03-2002 6:19 pm [add a comment]


Yes--I put the tags on either side of the HR divider. I'd been doing that anyway, just not consistently, so some of the text got color.
- tom moody 5-03-2002 6:26 pm [add a comment]


Sorry about the extra work Tom (and anybody else I've screwed up.) Keep in mind that it is sometimes possible for me to do global search and replace right on the database in a way that might be easier than you doing it by hand - given that the changes are consistent in the right sort of way.

As for the style sheet, you could solve the problem by adding a class to your named anchored like this:

<a class="tomanchor">whatever</a>

And then in the style sheet add a line like this:

a.tomanchor { color:#ffffff; }

Obviously you can use anything for 'tomanchor' and any color for '#ffffff'
- jim 5-03-2002 6:46 pm [add a comment]


So if there are 10 different anchor names (eg, EITSW, EITLH, DTSW, etc), the style sheet has a list like this?

a.EITSW { color:#000000; }
a.EITLH { color:#000000; }
a.DTSW { color:#000000; }
etc.

If that's the case, I doubt you could have done a global fix, but thanks for suggesting that for the future.
- tom moody 5-03-2002 7:32 pm [add a comment]


If the color is going to be the same (if you are applying the same style to all the anchors) then just use the same class name for all the anchors. (I mean, just use EITSW as the class for all the anchors.) You only need a new class (a new line in the style sheet) for each different style. You can apply a class to any number of instances.
- jim 5-03-2002 7:44 pm [add a comment]


OK, I see what I would need to do. Some of the links on /dorispiserchia/reviews go to targets on use-yr-own-html pages, designated, say, /novels#EITTM. I did the same thing for the links to posts on the weblog. It was too much detail, since the posts already have individual numbers (eg /?12345#EITSW--for post no. 12345, Earth in Twilight, Strange Words review), but before the upgrade it didn't matter. Going forward, all I need for links to the weblog is /?12345#TOMANCHOR, using TOMANCHOR for all the targets.
- tom moody 5-03-2002 8:01 pm [add a comment]


Don't confuse class with name in the anchors. You can have:

<a name="EITTM" class="tomanchor"> </a>

and

<a name="EITSW" class="tomanchor"> </a>

and

<a name="WHATEVER" class="tomanchor"> </a>

and then just one line in the stylesheet

a.tomanchor {color:#ffffff;}

which would apply to ever anchor of class "tomanchor" regardless of the name of the anchor.
- jim 5-03-2002 8:04 pm [add a comment]


OK. Thanks. BTW, can you add or restore the archives for /help and /suggestions?
- tom moody 5-03-2002 8:29 pm [add a comment]





add a comment to this page:

Your post will be captioned "posted by anonymous,"
or you may enter a guest username below:


Line breaks work. HTML tags will be stripped.