我刚刚转向使用表格格式。如果我想使用 colspan 和 rowspan 在 Table 标签中执行 colspan 和 rowspan,我们如何在标签中执行相同的操作。请帮帮我。
最佳答案
你应该学习/理解一些CSS attributes - float
, display
, width
, clear
等
例如,
<style type="text/css">
#leftPane{
float:left;
width:20%;
}
#rightPane{
float:right;
width:77%;
}
<div id="leftPane"></div>
<div id="rightPane"></div>
<div style="clear:both"></div>
....
关于asp.net - 如何在不使用 <table> 标签的情况下在 asp.net 中制作 colspan 和 rowspan 单元格,仅使用 <div> 标签,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11538365/