problem inserting style

problem inserting style

This is probably me doing something incorrectly rather than a bug.

I click the toggle-HTML button then click Styles and then insert the following:

.onex{
font-size:20pt;
}
.twox{
font-size:30pt;
}
.threex{
font-size:40pt;
}

Then i click Save. Then I click the --Style-- drop down menu and I do not see onex or twox or threex in the list of styles.

What am I doing wrong?