improvements in width settings to also use CSS