This will be harder than it sounds as the lin style is applied using attributes to the list items, not the line div's. Changing this behaviour will cause the output format to be modified too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I agree on both solutions, but IMHO the version without line numbers enabled explicitely should be preferred for zebra lines as the code production can be reduced to a minimum, because all the line breaking necessary for line numbers can be avoided AND the produced output can be smaler. Al in all there are some advantages in having the support in without the need for enabling line numbers and skipping them later.
Having line numbers (even if hidden) has the disadvantage of FF producing dirty clipboard results, which can be avoided when done properly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1106788
Originator: NO
This will be harder than it sounds as the lin style is applied using attributes to the list items, not the line div's. Changing this behaviour will cause the output format to be modified too.
Logged In: NO
A much better solution in my point of view would be to remove the line numbers via CSS:
pre ol {
padding:0;
}
pre ol li {
list-style:none;
}
Logged In: YES
user_id=1594854
Originator: NO
see my comment below. blasting sf.net logins...
Logged In: YES
user_id=1106788
Originator: NO
I agree on both solutions, but IMHO the version without line numbers enabled explicitely should be preferred for zebra lines as the code production can be reduced to a minimum, because all the line breaking necessary for line numbers can be avoided AND the produced output can be smaler. Al in all there are some advantages in having the support in without the need for enabling line numbers and skipping them later.
Having line numbers (even if hidden) has the disadvantage of FF producing dirty clipboard results, which can be avoided when done properly.