Knowledge

User:Quantum7/Alternating

Source 📝

31:
Manually entering row colors for each row breaks sorting & makes it hard to insert/delete/reorder elements. For instance, sorting the following table breaks the coloring.
453: 458: 239: 374: 329: 277: 160: 115: 63: 398: 184: 17: 316: 102: 433: 219: 459:
MediaWiki talk:Common.css#New style for tables with alternating row colors
454:
Knowledge:Bot requests/Archive 54#Updating tables with alternating rows
242:
will make the following table color properly in all sorting instances:
247: 33: 245:
table.alternating tr:nth-child(even) { background:#EFEFEF; }
313: 99: 361: 147: 8: 35: 7: 24: 195: 113: 417:score based protein structure 203:score based protein structure 1: 238:Adding the following code to 475: 438:Y. Zhang & J. Skolnick 321:CEM Strauss & AR Ortiz 249: 224:Y. Zhang & J. Skolnick 107:CEM Strauss & AR Ortiz 27:Current Row-level coloring 434:server and download 220:server and download 445: 444: 231: 230: 466: 248: 34: 474: 473: 469: 468: 467: 465: 464: 463: 450: 382:istance Matrix 246: 236: 168:istance Matrix 29: 22: 21: 20: 12: 11: 5: 472: 470: 462: 461: 456: 449: 446: 443: 442: 439: 436: 431: 428: 425: 422: 412: 408: 407: 404: 401: 396: 393: 390: 387: 377: 371: 370: 367: 364: 359: 356: 353: 350: 332: 326: 325: 322: 319: 311: 308: 305: 302: 280: 274: 273: 270: 267: 264: 261: 258: 255: 252: 244: 235: 232: 229: 228: 225: 222: 217: 214: 211: 208: 198: 194: 193: 190: 187: 182: 179: 176: 173: 163: 157: 156: 153: 150: 145: 142: 139: 136: 118: 112: 111: 108: 105: 97: 94: 91: 88: 66: 60: 59: 56: 53: 50: 47: 44: 41: 38: 28: 25: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 471: 460: 457: 455: 452: 451: 447: 440: 437: 435: 432: 429: 426: 423: 420: 416: 413: 410: 409: 405: 402: 400: 397: 394: 391: 388: 385: 381: 378: 376: 373: 372: 368: 366:I. Shindyalov 365: 363: 360: 357: 354: 351: 348: 344: 340: 337:ombinatorial 336: 333: 331: 328: 327: 323: 320: 318: 315: 312: 309: 306: 303: 300: 297:btained from 296: 292: 288: 284: 281: 279: 276: 275: 271: 268: 265: 262: 259: 256: 253: 250: 243: 241: 233: 226: 223: 221: 218: 215: 212: 209: 206: 202: 199: 196: 191: 188: 186: 183: 180: 177: 174: 171: 167: 164: 162: 159: 158: 154: 152:I. Shindyalov 151: 149: 146: 143: 140: 137: 134: 130: 126: 123:ombinatorial 122: 119: 117: 114: 109: 106: 104: 101: 98: 95: 92: 89: 86: 83:btained from 82: 78: 74: 70: 67: 65: 62: 61: 57: 54: 51: 48: 45: 42: 39: 36: 32: 26: 19: 18:User:Quantum7 418: 414: 383: 379: 346: 342: 341:xtension -- 338: 334: 298: 294: 290: 286: 282: 237: 234:CSS solution 204: 200: 169: 165: 132: 128: 127:xtension -- 124: 120: 84: 80: 76: 72: 68: 30: 254:Description 40:Description 448:Discussion 240:common.css 411:TM-align 289:olecular 197:TM-align 75:olecular 375:DaliLite 330:CE/CE-MC 317:download 263:Flexible 161:DaliLite 116:CE/CE-MC 103:download 49:Flexible 403:L. Holm 285:tching 278:MAMMOTH 189:L. Holm 71:tching 64:MAMMOTH 399:server 386:gnment 362:server 314:server 293:odels 269:Author 185:server 172:gnment 148:server 100:server 79:odels 55:Author 441:2005 419:align 406:1993 389:C-Map 369:2000 355:Multi 345:onte 324:2002 301:heory 272:Year 257:Class 251:NAME 227:2005 205:align 192:1993 175:C-Map 155:2000 141:Multi 131:onte 110:2002 87:heory 58:Year 43:Class 37:NAME 16:< 427:Pair 421:ment 392:Pair 349:arlo 307:Pair 266:Link 260:Type 213:Pair 207:ment 178:Pair 135:arlo 93:Pair 52:Link 46:Type 430:nil 415:TM- 384:Ali 216:nil 201:TM- 170:Ali 424:Cα 395:No 358:No 352:Cα 310:No 304:Cα 283:MA 210:Cα 181:No 144:No 138:Cα 96:No 90:Cα 69:MA 380:D 347:C 343:M 339:E 335:C 299:T 295:O 291:M 287:M 166:D 133:C 129:M 125:E 121:C 85:T 81:O 77:M 73:M

Index

User:Quantum7
MAMMOTH
server
download
CE/CE-MC
server
DaliLite
server
server and download
common.css
MAMMOTH
server
download
CE/CE-MC
server
DaliLite
server
server and download
Knowledge:Bot requests/Archive 54#Updating tables with alternating rows
MediaWiki talk:Common.css#New style for tables with alternating row colors

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.