How can I style an ASP.NET Radio List so that the label appears before the input?
I want to style an ASP.NET RadioList so that the list is horiz开发者_Go百科ontally oriented, with two rows, the first of labels, and the second of inputs, for example:
A B C D
o o o oJust set the radio list text value to empty (that is "") Right above your radio list create labels that correspond to each radio list button.
Similiar to this question vb.net checkbox label position
Use two lists and style them horizontally in your CSS
The CSS: .answerL { list-style-type: none;
} .answerL { display: block; }
精彩评论