copy styles from td