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;
}
精彩评论