<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>兼容IE6/IE7/IE8/火狐---下拉菜单select高度</title> <style type="text/css"> .select{border:1px solid #ccc;line-height:22px;color:#666;margin:-1px;padding:4px 3px;font-size:13px;width:93px;*width:85px;} .select_border{*background:#fff;*border:1px solid #ccc;*padding:4px;width:83px;} .container{*border:0;*position:relative;*width:83px;*height:18px;*overflow:hidden;*background:#fff;} </style> </head> <body> <div class="select_border"> <div class="container"> <select name="" class="select"> <option selected="selected">区域不限</option> <option>北京</option> <option>天津</option> <option>上海</option> <option>重庆</option> </select> </div> </div> </body> </html>
详细解决方案
上拉菜单select高度(兼容IE6/IE7/IE8/火狐等主流浏览器)
热度:27 发布时间:2012-11-23 22:54:33.0
相关解决方案
- Struts2 <select>上拉框 回显有关问题
- 關於Struts2 select tag 問題,该怎么处理
- <xsl:for-each select= 取嵌套节点则么写,该如何解决
- <select>标签可平添文字
- Struts2 <s:select/>有关问题
- jsp页面<select>选中有关问题
- struts2 中用两个<s:select>标签如何实现级联的效果
- <s:select>标签,小弟我要通过js获取listKey的值要如何获取
- <s:select>解决办法
- 关于strust2 <s:select>标签组值有关问题
- select count(*)as num from hall where Hall_No=10000001关于这个SQL语句,怎么取出返回的数字
- js里如何取<s:select>标签里的值
- Eclipse导入工程后,XDoclet异常:Missing library: xdoclet-1.2.1.jar. Select the home direc
- magaView.HasMonth = db.Library.GroupBy(a => a.TimeBook.Month).Select(a => a.Key),该怎么处理
- string sql = @"select."该如何处理
- 经过后台代码为html控件<select>绑定数据?求大神指点!
- 标签<select>事件,该如何处理
- SELECT RUNAT="SERVER" ONCHANGE,该怎么处理
- .net怎么用ajax,js 为标签<select>动态添加数据
- sqltxet能不能这么写成"select *rowid from table"
- Select @NewID,该怎么解决
- select * from BigClass where FatherID=? order by Order desc解决思路
- 错误详细信息: System.Data.OleDb.OleDbException: SELECT 子句中包含一个保留字、拼写异常或丢失的参数,或标点符号不正确
- select 约束中怎么将text所填写的内容作为约束条件
- select SCOPE_IDENTITY失效
- 页面上有个<select></select>用js或jq或后台写个循环生成一个连续的年份如2000-2012然后添加到select下拉框,value值对应年份解决方案
- select * from lesson where username='name' order by id desc解决思路
- 请教dt.select()中的条件可以是大小判断吗
- 语法异常。 在查询表达式 'ID not in (select top 12*1 ID from prod_news order by infotime des
- .NET MVC3 from mvc3 select,该怎么解决