【问题标题】:Setting dropdown menu width设置下拉菜单宽度
【发布时间】:2013-07-06 21:24:11
【问题描述】:

我正在尝试更改此页面上的国家/地区下拉菜单:

http://www.chasewatts.com/free-signup

我只是希望它与其他线条的宽度相同 (80%),但我所做的似乎没有改变这一点。不能使用 CSS 文件更改下拉菜单的宽度吗?

这是我的 .tpl 文件中该行的代码:

<tr><td class="fieldlabel">{$LANG.clientareaemail}</td><td class="fieldarea">{if $loggedin}{$clientsdetails.email}{else}<input type="text" name="email" tabindex="4" style="width:80%;" value="{$clientsdetails.email}" />{/if}</td><td class="fieldlabel">{$LANG.clientareacountry}</td><td class="fieldarea">{if $loggedin}{$clientsdetails.country}{else}{$clientcountrydropdown|replace:'<select':'<select tabindex="12"'}{/if}</td></tr>

提前感谢你们提供的任何帮助!

【问题讨论】:

    标签: php html css


    【解决方案1】:
    .selectboxit-container .selectboxit-options{
    width:330px;}
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-17
      • 2021-04-06
      相关资源
      最近更新 更多