made updates on css width handling