simplify HeaderRow, move styles out of code