Bug fixes in CSS -5

margin fixes and padding fixes