can any one tell me how to align option group items horizontally

I have added the code for option group like below…

   [size=3]
  [font=Comic Sans]

optiongroup= new OptionGroup();
optiongroup.setMultiSelect(false);
optiongroup.setStyleName(“horizontalgroup”);
optiongroup.addItem(“yes”);
optiongroup.addItem(“no”);
absoluteLayout_9.addComponent(optiongroup, “top:3.0px;left:300.0px;”);
[/font]

[/size]
and the css for this as below…

       [size=3]


.v-select-optiongroup-horizontalgroup .v-select-option {
display: inline-block;
}

[/size]
but it.s not working, so please if any one can help me i will be greatful.


Thanks in advance…