PDA

View Full Version : Font Color Question


jasonclg
07-07-2010, 04:18 AM
This is probably a really stupid question to ask, but all this css stuff is pretty new to me.

I've managed to make a theme and everything's look good. However there's one user in our shoutbox that just demands to use a font that looks terrible with some of the backgrounds with other themes.

Is there a way to setup some kinda code here that says "If a font is *this* it will show up as *that*"? That way he can use his color on whatever theme he's using but anyone that's got one of the other themes can still read what he's saying without having to highlight it?

Stupid/Silly question I know, but as I said this is really new to me. lol

Thanks a lot.

BirdOPrey5
07-10-2010, 11:35 PM
Not that I can do it either way but is it the font style (name) you want to change or just the color? Such as do you want- If Font = Arial Then Use New Times Roman or If Font = White Then Use Font = Black.

jasonclg
07-10-2010, 11:56 PM
I just want the color to change in this certain style, but not have it alter the color the user wants to use in other themes. Does that make sense?

BirdOPrey5
07-11-2010, 12:39 AM
I guess I follow the logic and it seems possible, something to scan a string for a color tag and change it if found, if and only if the current style id is 'x' but I wouldn't personally know how to code it. You might have better luck in the programming forum as this would require some custom coding.
'

jasonclg
07-11-2010, 12:41 AM
That's kinda what I thought. I'm sure it can be done, but I have no idea HOW to make it happen. I've been doing this for like a week and its all still just a bunch of 0's and 1's to me. lol

Thanks for the reply though. Its appreciated.