开发者

Formatting columns inside of an ASP Repeater

I'm using an ASP repeater on my page, and I want it to create a 3 column grid. In my HTML page, I use a class which sets the third column so that it fits. Basically, the first 2 columns have a margin-right of 28px so it spaces them nicely and then the third class removes the margin-right so that the columns fit.

Problem is, when this comes into the repeater, I can't use the third clas开发者_运维知识库s and I get a 2 column result. Any ideas on how I can overcome this?


Use a <table>. I know, I know, we aren't supposed to use tables anymore, right? If you are displaying tabular data, you should use a table. If it's a "grid", that sounds like tabular data to me. Is it?


I managed to resolve this without the use of a <table>. It turned out that the <form> didn't have enough width, so I amended this and it worked.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜