Yes, to make that work I think you'd need to define a css-div bbcode (in which case you wouldn't need html enabled).
To define it go to Add New BB Code and enter css-div for the Tag Name, and for the replacement something like:
Code:
<span style="{option}">{param}</span>
(or you could use div instead of span since your tag is called css-div. You can easily change it to see what works for you). Anyway, I think you can leave all the radio buttons at their default settings, and I'll leave all the other text fields up to you (they should be obvious).
BTW, you should realize that enabling html for a forum, or defining a bbcode like this is somewhat "dangerous" as it allows members to post code whcih could mess up your forum pages. (It would also let them post any javascript they wanted, which probably isn't something you want to allow in general).