开发者

how to fit a asp.net datalist control inside a html table row

I created a asp.net web page and开发者_开发知识库 I have a html table 16 columns wide with a datalist control on every column. I need to give the look of a gridview control, (One column of data next to the other) but somehow there is a lot of white space in the Table Column around the datalist controls, how can I reduce this to the minimum so each column show next to each other?


Make sure you don't have the width of your outer table set to 100%. Perhaps a dump of the markup would be useful here.


That will help:

<Table Style="padding:0px; cell-spacing:0px;">
...
</table>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜