hi all:
请问一下yii的样式是怎么处理的?为什么我直接把表格放到yii的view文件中,跟想象的效果不一样呢?
demo项目的protected/views/site/index
<?php $this->pageTitle=Yii::app()->name; ?>
<table border="1">
<tr bgcolor="#dceeff">
<td width="50%" align="center">test1: </td>
<td width="50%" align="center">test2: </td>
</tr>
</table>
显示出来的结果却是没有居中的。