Changed create div to take parameters of width and height.