Link to home
Start Free TrialLog in
Avatar of stephencushen
stephencushen

asked on

css and RadioButtonList

hi

i have the following,

<asp:RadioButtonList id="viewType" runat="server" RepeatDirection="Horizontal">
    <asp:ListItem id="option1" runat="server" value="List Films" />
    <asp:ListItem id="option2" runat="server" value="List Books" />
</asp:RadioButtonList>

i want to add css styling to the text, but cant add a style to it, this is doing my head in, ive tried adding CssStyle="testText" to it but it dosnt change the text font or colour

this is the css

.testText{COLOR: #ffffff; font-weight: bold; FONT-FAMILY: Arial, Helvetica, sans-serif; FONT-SIZE: 12px;}


does anyone know what im doing wong

thanks in advance

stephen
ASKER CERTIFIED SOLUTION
Avatar of lengreen
lengreen

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stephencushen
stephencushen

ASKER

heeemmm

yes coding while tired is a stupid idea, ive been stuck on that for a couple of hours, why the hell was i using cssstyle?

cheers
Tell me about it... its much easier sovling other peoples problems than your own :)

cheers

Len