首页 > Web开发 > 详细

zencart更改css按钮的宽度css buttons

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!