PDA

View Full Version : Usergroup HTML Markup Trouble


Snapple
12-24-2014, 07:11 PM
Hello! I hope all is well . . .

For the HTML Markups for some usergroups, it doesn't seem to work properly.

For one usergroup, I have <span style="font-weight: bold; color: #9966CC;"> </span>. With that same usergroup, the bold doesn't seem to work in certain areas. I have that markup (just different colors) for two usergroups. Take a look at this screen shot:
https://vborg.vbsupport.ru/external/2014/12/13.png

Note how 'Shade' and 'acorn' are both not bold, even though in their HTML Markup, I have "font-weight: bold;". This is just the Top 10 Stats, however, on 'What's Going On', they both seem to be bold (see SS):
https://vborg.vbsupport.ru/external/2014/12/14.png

Would anyone mind telling me how I make their usergroup bold in Top 10 Stats?

kh99
12-24-2014, 07:57 PM
You could try right clicking on a name that looks wrong, and select "Inspect Element" (or something like that, depending on which browser you use). Then you should be able to see what the actual html says and how the font-weight is determined. (In Chrome there's a "Styles" window that shows you where all the attributes come from).

MirKO13
12-24-2014, 08:17 PM
Might seem odd, but sometimes spaces can cause "issues",at least for me :P
So, try:
<span style="font-weight:bold;color:#9966CC;"> </span>

Worth to try :erm:

HM666
12-24-2014, 11:16 PM
That is a problem in the mod you have installed for the stats. You should ask in the thread that the mod is for.

Snapple
12-24-2014, 11:31 PM
You could try right clicking on a name that looks wrong, and select "Inspect Element" (or something like that, depending on which browser you use). Then you should be able to see what the actual html says and how the font-weight is determined. (In Chrome there's a "Styles" window that shows you where all the attributes come from).

I tried this, and I got excited because it worked . . . temporarily. I added ";font-weight:bold" and it changes it until I refresh the page, etc. I think I can fix this though. I believe there's another way to change the HTML markups through the Settings in AdminCP. Thanks for the help~ [:

kh99
12-25-2014, 12:05 AM
Yeah, that's only to help figure out what the problem is, it doesn't let you make any permanent changes. But it sounds like the bold isn't being applied to that name for some reason, so checking in the admincp is probably the next thing.