开发者

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 o


Just 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; }

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜