Is the radio in a table???
if it is true, is because if you look the source code radio is a table, you must create a style class for this radio;
Thank you for the reply. Yes, the radio is in table. I tried to apply the css for radio buttons but its not working. In fact the problem is there for check boxes also. But after applying border:0px, problem got solved but the same is not working in radio button case.
Please check radio button code as follows,
<f:selectItem id="currentmonth" style="font-weight:bold"
sorry i forgot this:
you try with this way
I tried this as well without success. Is there any other way?
if there is another way i dont know but the problem is by css class.
I have seen that:
styleClass="oncallFonts;radioClass;note;" in yor h:selectOneRadio, if you put that way doesn't work. if you want apply style to the columns of panelGrid you must put the class css of this way: h:panelGrid styleClass="oncallFonts,note"
if only you want apply style to select you must put this:
h:selectOneRadio styleClass="radioClass" (only one style class) if you put more classes doesnt work.
It must works with the last line
I think it caused by standard skinnig mechanism. You could check styles applied using Firebug. And you could solve it by : a) overriding the CSS properties using html elements selectors. b) using !important mark in your custom CSS classes. c) turning standard skinning off - then your custom classes will works(but there wil be no skinning for inputs and so on)
hi ilya, i happened the same, and the problem was that the radio was in dataTable or table and this has style class, so, the radio get the same style of the table, i solved applying another style in h:selectOneRadio.
I don't know if there is another way to do but this way works fine