$this->data[$k1][$k2]= ' ';
$this->data[$k1][$k2]= '<font color="red">*</font>';
代码为图1是
代码为2是这样:
为啥会出现对不齐的现象呢
加点样式不就好了
加点样式不就好了 '<span style="color:blue;">*</span>'
$this->data[$k1][$k2]= ' '; //导致的,参考http://blog.csdn.net/ylxb2/article/details/54693049
测试代码
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
</head>
<body style="font-family:'Times New Roman'">
* *
<hr />
****
</body>
</html>