That's my girl, large and in-charge. Okay, teensy-weensy and in charge.

Gunn ,'Just Rewards (2)'


Buffistas Building a Better Board ++

Do you have problems, concerns, or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.


0 - Jan 28, 2009 6:39:55 pm PST #2534 of 4673

One thing I've noticed is that some users are using "font color equals white" tags to post in-line spoilers. If people are using the personal css feature like I am with a black background and gray text, then the spoilers show up in blazing white characters instead of being hidden.

Rather than try to change the humans, this regular expression will replace those font tags with the appropriate span tag.

$string = 'the actor on tonights show is <font color="white">sooper seekrit</font> !!';

$pattern = '/<font color=([\\"\\']*?)white([\\"\\']*?)>(.*?)<\\/font>/is';

$replacement = '<span class="spoiler">$3</span>';

preg_replace($pattern, $replacement, $string);

Just a suggestion.


Dana - Jan 28, 2009 6:43:03 pm PST #2535 of 4673
I'm terrifically busy with my ennui.

I think some people actually consider the visiblity of spoiler text a feature rather than a bug. But maybe they could just modify the spoiler tag in their style sheet? I am not knowledgeable enough.

And whoa, gray on black? I bet that looks trippy.


§ ita § - Jan 28, 2009 6:53:40 pm PST #2536 of 4673
Well not canonically, no, but this is transformative fiction.

Principle-wise I'd rather change humans. I try and point it out whenever I see it, so we all play nice together.

I think some people actually consider the visiblity of spoiler text a feature rather than a bug

But putting in font=white tends to ensure invisibility for the poster, and those people who have made spoilers visible with css can't see them unless they've also changed their background colour.

o, I don't think it's rude to point it out when you see it, if you couch it right.


Jessica - Jan 28, 2009 6:54:13 pm PST #2537 of 4673
And then Ortus came and said "It's Ortin' time" and they all Orted off into the sunset

I think some people actually consider the visiblity of spoiler text a feature rather than a bug.

Yeah, and it makes the font tag kind of spoiler font kind of annoying. (I have my spoilers set to grey so I can see them, but if someone hard codes theirs to white, I have to highlight.)


0 - Jan 28, 2009 7:59:16 pm PST #2538 of 4673

Why do I try to do things the hard way? Thanks for the thought Dana!

AFAICT there are no other font tags in use on the site, so what I did to get the Tags That Have Gone Rogue to behave is to add

font { color: #000; }

to my personal css. This overrides the "font color equals white" tags (on Chrome/Vista) and makes them match my background color. For those of you like Jessica who have half-hidden spoilers, then you'd just make the font color the same as your spoiler color.


Liese S. - Jan 29, 2009 7:47:59 am PST #2539 of 4673
"Faded like the lilac, he thought."

People do occasionally use font tags to change color of a limited amount of text for effect, but it's rare.

I'm a reformed font tagger, but I'm sure I slip sometimes. Old html habits die hard. I still type <i> instead of quick editing for that type of formatting. Prolly ought to change that habit, too, huh? Are people using their css to deal with emphasis formatting?


Amy - Jan 29, 2009 8:29:37 am PST #2540 of 4673
Because books.

I'm still using the font color=white HTML because the CSS stuff is way beyond me. Is there something else I should be doing? Or can someone tell me what exact code to put on my CSS style sheet to make my whitefont conform, or whatever?


Sue - Jan 29, 2009 8:31:30 am PST #2541 of 4673
hip deep in pie

If you use the quick edit for spoiler fonts--an 's' before the line you want to white font--it shouldn't mess with people's style sheets.

Right?


Amy - Jan 29, 2009 8:40:16 am PST #2542 of 4673
Because books.

Oh! DUH. Thank you, Sue.


Jon B. - Jan 29, 2009 9:26:24 am PST #2543 of 4673
A turkey in every toilet -- only in America!

Or can someone tell me what exact code to put on my CSS style sheet to make my whitefont conform, or whatever?

What you put in your CSS style sheet affects only what you see, not what anyone else sees.

For spoilers, using the "s" quickedit is best, but second best is using the tag <span class="spoiler">stuffyouwantblinvisible</span>