need to get margins separately in firefox