Try setting width to 50%, instead of 500px