Fixed some CSS and attribute issues
Fixed inheritance pattern