RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

AddHtml(), scrollbar without background = white text

lomburger

Wanderer
AddHtml(), scrollbar without background = white text

I use this line
[code:1]AddHtml( 195, 200, 250, 230, "My pretty long text" ,false,true);[/code:1]

The problem is that when the background is false and the scrollbar is true, the text is white. I need to change the hues to black but there is no hues parameter in the function.

Any ideas ?
 
[code:1]AddHtml( 195, 200, 250, 230, String.Format( "<basefont color=#FFFFFF>My pretty long text</basefont>" ,false,true);[/code:1]

I know FFFFFF is white, just put in the color code for black. I think it is 0, but not sure.
 

lomburger

Wanderer
Thanx :D

I used

[code:1]AddHtml( 195, 200, 250, 230, String.Format( "<basefont color=#333333>My pretty long text</basefont>" ,false,true);[/code:1]

I used the color #333333 because for some reason, it won't display black text.

Thx Alot!
 
Top