set the css of picture