如何控制表格的高度
页面里面是这样写的
<table width= "100 " border= "0 " cellspacing= "0 " cellpadding= "0 ">
<tr>
<td> <img src= " <%=request.getContextPath()%> /resources/theme/images/xt_right.jpg " width= "194 " height= "38 "> </td>
</tr>
</table>
xml的数据读取是这样的
<?xml version= "1.0 " encoding= "gb2312 "?>
<view>
<type> common </type>
<unid> id </unid>
<sql> select * </sql>
<tables> plantitles </tables>
<filters>
<filter> status=0 </filter>
</filters>
<order> cdate desc </order>
<rows> 14 </rows>
<columns>
<column>
<title> 标题 </title>
<property> $title </property>
<filedtype> string </filedtype>
<width> 90% </width>
<length> 40 </length>
<align> center </align>
<link> /PlansAction?action=edit+&titleID=+$id </link>
</column>
</columns>
</view>
我怎样控制能让表格是两行显示?在xml里面加了一个高度的配置似乎不行
<height> 30 <height>
这样不行
------解决方案--------------------你把最外层的表格设成你想要的高度呀
<table width= "189 " height= "400px " border= "0 " cellpadding= "0 " cellspacing= "0 " background= " <%=request.getContextPath()%> /resources/theme/images/xt_rightbg2.jpg ">
------解决方案--------------------在后面加一个 <br /> 试试