updated style and html width and height