I was having trouble with an ASP.NET page and a radiobuttonlist. The radiobuttonlist was using a different font to the rest of the page. It turns out that the radiobuttonlist renders the radiobutton text as <label> html elements and these aren't covered under the <body> style that I had set in a separate style sheet (most other elements, such as <p> are). The solution was to add label to the style.
so
BODY, LABEL
{
FONT-FAMILY: Verdana, Helvetica, sans-serif;
}
Instead of
BODY
{
FONT-FAMILY: Verdana, Helvetica, sans-serif;
}
Monday, November 20, 2006
Subscribe to:
Posts (Atom)