开发者

<ol><li> tags problem insise asp:repeater

i have small problems with asp:Repea开发者_运维知识库ter. I am printing <ol><li> tags inside repeater in one line. How can i print it in two lines like:

- test   - test2
- test3  - test4
- test5  - test6
...

now is like

- test
- test2
- test3
...


You can try putting a CssClass attribute on you repeater, and use a simple CSS :

.myRepeaterCssClass ol li {
    width: 48%;
    float: left;
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜