Maybe this one help you which i quoted from yahoo answers.
You really shouldn't use inline styling like that. I suggest you give the div a class name like this -
Then in your external css file, do this -
If you create a classname and assign it to any number of divs then need to change something, you can edit that style in your css file once.