#all, th, td { border: 1px solid black; border-collapse: collapse; } pre { word-wrap: break-word; width: 900px; /*FIXME*/ } tr:nth-child(odd) { background: #DDD } tr:nth-child(even) { background: #FFF }