![]() |
Adding a border around a username??
Okay so a premium member kept asking me to change their username to white because they thought it would look cool. I have done it but it is very hard to see on the main index page. This is how it looks on his profile (http://www.futuramaff.com/member.php?u=4381) as you can see it's easily read there but harder when smaller. Is it possible to add a black border around the name so that it can be easily readable? Many thanks.
|
You have:
HTML Code:
<span style="font-weight:bold;color:#FFFFFF;background: url(images/fffsparkly.gif)">nacirema</span> HTML Code:
<span style="font-weight:bold;color:#FFFFFF;background: url(images/fffsparkly.gif); border: 1px black solid;">nacirema</span> |
Hmm, I added the 2nd code and the username totally disappeared :(
|
You need to only add the first span part, not the whole thing.
|
I added this into the first part
<span style="font-weight:bold;color:#FFFFFF;background: url(images/fffsparkly.gif); border: 1px black solid;"> and </span> into the 2nd part. |
I can see nothing wrong with that code.
|
If it helps, when I press update and go BACK to the HTML markup I just saved, this is in the first box
<span style="font-weight:bold;color:#FFFFFF;background: url(images/fffsparkly.gif); border: 1px blac Nothing else :S |
Ah, it looks like it only takes xx characters. Best thing to do then is just use a class and put the properties in the class definition.
|
You've lost me now lol
|
.hisclass {font-weight:bold;color:#FFFFFF;background: url(images/fffsparkly.gif); border: 1px black solid;}
<span class="hisclass"> </span> |
Thanks, whereabouts do I put that CSS?
|
On the bottom of the Main CSS page. There is a box to add additional css.
|
I tried it and it just made the username the default 'registered members' colour :(
|
Then you did something wrong. However, I can't tell what since you removed what you did.
Looking at your css here - http://www.futuramaff.com/clientscri...26bf-00005.css - does not show me that css added anywhere. So, my guess would be that is the problem. |
I've added it again.
--------------- Added [DATE]1306782579[/DATE] at [TIME]1306782579[/TIME] --------------- Actually nevermind. I meant a border around the actual text. Not the text in a box. Don't think it's possible anyway :( |
All times are GMT. The time now is 08:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|