made it work inside table-cells