._rules_all td + td, ._rules_all th + th { border-left: 1px solid black; } ._rules_all tr + tr td, ._rules_all tr + tr th { border-top: 1px solid black; }