Style vs. Code Level hacks - why some things haven't changed yet.


log in or register to remove this ad

Michael Morris

First Post
Plane Sailing said:
I know that the code is adding the bold tag (actually the STRONG tag), BUT, and this is the clever bit, the CSS fragment I provided above *overrides* the boldness!

So you don't have to change the code at all!

Put that CSS fragment into the CSS and you will see the bold disappear (I've tested it on IE6 and a couple of Mozilla versions and Firebird0.7/Firefox0.8 and so far its worked on all of them).

No code changes required! Don't bother with time looking in the code!

Cheers

Ok, let's see :)
 




Gez

First Post
What about a little request or two? :D

It's about polls. I've two wishes about them.
The first is for a change in the display of the columns, which I would find more practical -- especially for long polls with more than 6 options.
I want the options to be aligned to the right, with the numbers and percentage beside them, and the bars in the rightest column.

The second, which I don't know if it is possible, is for poll percentages to be number of votes in an option/number of people who voted*100. Not number of votes in an option/number of votes*100. For single-choice polls, it don't change anything, but for multiple-choice polls, it would be light and day! The percentage would at least finally be meaningful. (Because for now, if you make a multiple choice poll asking people whether A: They breathe B: Their heart beat, you would end up with 50% of people not breathing and 50% of people without a working heart.)

Since a little pic is better than a long, clumsy rant, here's an illustration of what I mean, based on an actual example.
 
Last edited:


Plane Sailing

Astral Admin - Mwahahaha!
Psionicist said:
If you need any help with hacking the PHP code e-mail me at psionicist ....... at ...... home ...... dot...... se

I wouldn't hold your breath though. I've not even had a response to my offers, not even a "no thanks".
 

Michael Morris

First Post
Guys, talk at Russ. I have some ideas for hacks but the first thing you'll need is a copy of the program itself and he needs to be the one give you the keys to do that download :) I'd enjoy the help though.
 

Pyske

Explorer
Staffan said:
But I liked having unread threads being bold... looked so much more... friendly.

I'm trying to recall if the accessibility style sheets are additive or not. If they are, you could pretty easily create one that restores the bolding for you. Anyone know off the top of your head?

. . . . . . . -- Eric

PS -- I have confirmed that this does work. No guarantees that it won't cause some oddities on other sites, but I wouldn't expect it to. Basically, to "undo" the bolding change on your machine, you create a text file named whatever.css with the following code:
Code:
.alt1Active strong
{
        font-weight:bold ! important;
}

Then set your browser to use this style sheet. In IE6 this is under Internet Options >> Accessibility. Select to format using your style sheet, and browse for the file you created.
 
Last edited:

Remove ads

Top