parse the width and height data from the css style string