View Full Version : Black Text in White Style for Message Boards?
Hierax
Jan 13th, '04, 11:23 AM
Ben, I was wondering if it would be possible for you to change the css stylesheets for the message boards so that when one choses the "White" Style in their profile, the text is black by default?
Thanks!
Ben Seeman
Jan 13th, '04, 12:13 PM
It should already be black... What color are you getting?
Southern Cross
Jan 13th, '04, 01:12 PM
I,m getting black when I choose the "White" option in my profile.
Hierax
Jan 13th, '04, 01:14 PM
Sorry, Ben, I should have been more explicit.
The regular message text does appear as black but tables (or rather tables nested within the message table) have the text appear as white.
For example, this occurs when exporting a Hero Designer file and posting it on the message boards:
http://www.herogames.com/forums/showthread.php?s=&threadid=12302
There aren't any font color tags there to be changing the text to White.
I'm not sure how the message boards read the html in the message table cell different than the html of the message board itself, but I suspect the problem is that the CSS for tables isn't set with text = black. But from what I can see of the pages code it might be more how the Profile preference might be set to re-read the style imbedded in the webpage.
Hope I'm not being too confusing here. I'll try to clarify later if this all doesn't make sense.
Ben Seeman
Jan 13th, '04, 01:46 PM
I'm not sure why it is doing what it is doing, but the only solution that I can see right now would be to modify the HD export template to put a black font tag inside each table cell.
I'll keep looking tho.
Hierax
Jan 13th, '04, 02:02 PM
Yeah, I see what you mean, Ben, but putting a Black font tag in would just make it unreadable by those using the default Profile style.
Anyway, thanks for looking into it. In the meantime, I'll just keep having Mozilla override the style.
Also thanks for the amazinly fast responses, few companies are as responsive to their customers as you -- THANKS!
Killer Shrike
Jan 13th, '04, 02:06 PM
IIRC the default hero boards template is setting the color of the text in each cell directly via in-line CSS.
Its one of the reasons I did an export template to duplicate the look & feel of normal character sheets. It forces black text on white bg.
http://www.herogames.com/forums/showthread.php?s=&threadid=6083
Ben Seeman
Jan 13th, '04, 02:08 PM
I agree that it's gotta be the CSS, but I can't find the definitions anywhere in the VB utilities.
Ben Seeman
Jan 13th, '04, 02:14 PM
Aha! Found it! It should work now. :)
Killer Shrike
Jan 13th, '04, 02:17 PM
Originally posted by Ben Seeman
I agree that it's gotta be the CSS, but I can't find the definitions anywhere in the VB utilities. Just checked -- its not in the HTML from the default HERO Boards Template.
In the css file that you use for the white background you might need to set the text color to black for the table cells independently of the pages normal text. Dunno if you are doing that or not, but just a thought.
TD {
background-color: white;
font-color: black;
}
Killer Shrike
Jan 13th, '04, 02:18 PM
Originally posted by Ben Seeman
Aha! Found it! It should work now. :) What was it?
Ben Seeman
Jan 13th, '04, 02:19 PM
Originally posted by Killer Shrike
Just checked -- its not in the HTML from the default HERO Boards Template.
In the css file that you use for the white background you might need to set the text color to black for the table cells independently of the pages normal text. Dunno if you are doing that or not, but just a thought.
TD {
background-color: white;
font-color: black;
}
I was able to change it by modifying the SELECT... whatever that is. :)
Hierax
Jan 13th, '04, 02:21 PM
Thanks, Ben!
That works, heck it even works in NS 4.x ! not just Mozilla or even IE.
Ben Seeman
Jan 13th, '04, 02:26 PM
Originally posted by Hierax
Thanks, Ben!
That works, heck it even works in NS 4.x ! not just Mozilla or even IE.
No problemo.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.