change width to relative not absolute