| 
 | 
 
 
 楼主 |
发表于 2016-7-13 14:24:00
|
显示全部楼层
 
 
 
 本帖最后由 liuzhihao 于 2016-7-13 14:26 编辑  
 
 $con['wm_hor_alignment'] = 'center'; 
 $con['wm_hor_offset'] = '0'; 
$con['wm_vrt_offset'] = '360'; 
设置同样的参数  在3.0下  不管是几个文字都会水平居中显示,,但是在ci 2.1.4就会偏, 
 
因为公司需要   字有可能是1个中文也有可能是2个中文, 也有可能是英文。所以offset肯定不能写死。 
在此条件下,发现ci2.1.4怎么调 也不能达到水平居中 
 |   
 
 
 
 |