This is a scripting language javascript, right? You have to call this function below!
If the width value is too large, your page can only hold so many properties. Redundant attributes will be displayed on your next line, and you need accurate layout to make your own effect.