码迷,mamicode.com
首页 > Web开发 > 详细

zencart更改css按钮的宽度css buttons

时间:2014-11-29 18:54:53      阅读:208      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   io   ar   color   sp   on   div   

includes\functions\html_output.php

大概323行的zenCssButton函数

  function zenCssButton($image = ‘‘, $text, $type, $sec_class = ‘‘, $parameters = ‘‘) {

    // automatic width setting depending on the number of characters
    $min_width = 80; // this is the minimum button width, change the value as you like
    //$character_width = 6.5; // change this value depending on font size!
    $character_width = 8.5; // change this value depending on font size!

修改其中的

$min_width = 80;
$character_width = 8.5;

为你自己满意的值即可。



zencart更改css按钮的宽度css buttons

标签:des   style   blog   io   ar   color   sp   on   div   

原文地址:http://www.cnblogs.com/afish/p/4131213.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!