css change for contents items

fixing inline-block to float