Jump to Page: 1 2
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member
Registered: 11-2005
Province: SW MI, USA
Posts: 5123
Karma: 89 (+103/-14)

|
|
Reply | Quote
|
|
Re: Karma
Yes and no.
Since there is nothing in the custom language set to the effect of
%1 (%2/%3) that will let you alter the part in parentheses, we can only work with what is already there.
Here is the board's underlying HTML for that:
<span class="postlist_karma">Karma: </span>
<span class="postlist_karma_value">1 (+1/-0)</span>
Since the part in parentheses doesn't have its own class name apart from the number outside the parentheses, we can't just do a display:none; and be done with it. What you can do is limit how much of the karma value can be seen.
.postlist_karma { display: block; float: left; }
.postlist_karma_value { display: block; width: 1.25em; overflow: hidden; margin-right: 0.5em; white-space: nowrap; }
I temporarily added this code to this board, so you can see what it does, along with a background color so you can see the visible width.
This isn't a perfect solution, as you can see by comparing your single-digit karma with my double-digit karma. If anyone at your board has karma in the triple digits or more, you would have to widen the visible karma value even more, thus showing more of the area in parentheses for people with karma in the single and double digits.
It may not look pretty that way, but it hides the negative part. 
Last revised by Lesigner Girl, 5/20/2008, 7:43 pm
|
|
5/18/2008, 12:02 pm
|
PM Lesigner Girl
Read Blog
|
SKOKEY
Citizen
Worldly Traveler
Registered: 12-2005
Province: Bennington, NH
Posts: 364
Karma: 11 (+12/-1)

|
|
Reply | Quote
|
|
Re: Karma
Look what it's doing now. It's wrapping the mumbers into a column and still showing the negative ones.
|
|
5/20/2008, 12:01 pm
|
PM SKOKEY
|
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member
Registered: 11-2005
Province: SW MI, USA
Posts: 5123
Karma: 89 (+103/-14)

|
|
Reply | Quote
|
|
Re: Karma
I haven't seen what you were seeing, but it might be best to add white-space: nowrap; to .postlist_karma_value just to make sure that doesn't happen to anyone who uses this idea.
I'll edit my code above to add that in.
Thanks, Skokey! 
|
|
5/20/2008, 7:43 pm
|
PM Lesigner Girl
Read Blog
|
SKOKEY
Citizen
Worldly Traveler
Registered: 12-2005
Province: Bennington, NH
Posts: 364
Karma: 11 (+12/-1)

|
|
Reply | Quote
|
|
Re: Karma
OK, I don't see the wrap any more.
|
|
5/20/2008, 8:13 pm
|
PM SKOKEY
|
SKOKEY
Citizen
Worldly Traveler
Registered: 12-2005
Province: Bennington, NH
Posts: 364
Karma: 11 (+12/-1)

|
|
Reply | Quote
|
|
Re: Karma
I'm at work and have IE6 here. The column of numbers is back.
|
|
5/21/2008, 11:30 am
|
PM SKOKEY
|
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member
Registered: 11-2005
Province: SW MI, USA
Posts: 5123
Karma: 89 (+103/-14)

|
|
Reply | Quote
|
|
Re: Karma
Ok, I know I added the nowrap to my CSS, but it wasn't there just now when I looked. Please let me know how it looks the next time you view it with IE6.
Thanks! 
|
|
5/21/2008, 6:25 pm
|
PM Lesigner Girl
Read Blog
|
SKOKEY
Citizen
Worldly Traveler
Registered: 12-2005
Province: Bennington, NH
Posts: 364
Karma: 11 (+12/-1)

|
|
Reply | Quote
|
|
Re: Karma
Sure thing Boss.
|
|
5/21/2008, 8:10 pm
|
PM SKOKEY
|
SKOKEY
Citizen
Worldly Traveler
Registered: 12-2005
Province: Bennington, NH
Posts: 364
Karma: 11 (+12/-1)

|
|
Reply | Quote
|
|
Re: Karma
Lookin' OK now in IE6.
|
|
5/22/2008, 10:19 am
|
PM SKOKEY
|
Lesigner Girl
Minerva
Worldly Traveler (premium)
Runboard staff member
Registered: 11-2005
Province: SW MI, USA
Posts: 5123
Karma: 89 (+103/-14)

|
|
Reply | Quote
|
|
Re: Karma
Boss
Thanks, Skokey! Karma coming your way. 
|
|
5/22/2008, 7:01 pm
|
PM Lesigner Girl
Read Blog
|
Add to this discussion
Jump to Page: 1 2
Powered by AkBBS 0.9.5b - Link to us
- Blogs
- Hall of Honour
- Chat
Click here to get your own free message board
|
You are not logged in (login)
Board's time is: 12/1/2008, 6:38 pm EDT
|
|
|