without block element "width" property won't work
CSS as an object

.css({  'background-color': 'red',
'display': 'block',
'width': '300px'
})