PDA

View Full Version : Coloring of Radio Button



jogeshwarakundi
22nd July 2008, 15:05
Hi,
I am using the following stylesheet for a Radio Button
*{font-size:10px;border:1px solid rgb(64, 0, 64);background:rgb(152,196,224);color:rgb(0,0,0);} :focus{border:1px solid rgb(64, 0, 64);background-color:rgb(255,0,0);color:rgb(0,0,0);}

This is working fine for all cases. But when the Radio Button has focus and checked is true, it is getting filled with white (all bg, fg becomes white, it appears as a white box inside the border). I tried to set the :focus:checked{} set of properties, but nothing is working.
when i removed the border property from stylesheet, only the text area of the button is fully white and the indicator area is clearly visible with coloring affects.

Is there any way out of this? I tried to search the net but could not find any answers :(

I am using qtopia 4.3.0