uses style attribute from now instead individual width and height attribute