rules about when a p is div