解决方式就是在绝对布局的元素下放置一个一样大小的iframe元素,这样iframe可以将select盖住,同时解决了问题. 源码如下: <!-- IE6BUG select在絕對定位的元素之上顯示 --> <!-- 解決方法:將一個同樣大小的iframe放在絕對定位的元素之下 --> <select><option>請選擇</option> </select> <div id="Test"></d…
SSH项目,访问jsp页面出现报错,控制台显示报错信息: org.springframework.orm.hibernate3.HibernateQueryException: unexpected token: * near line 1, column 8 [select * from tb_chaper where course_id = 2]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpect…
<html> <head> <title>JQuery</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" cont…
此方法适合后台一次性返回所有数据好了废话不多说直接上代码: <!DOCTYPE html><html><head> <title>Bootstrap-select test page</title> <meta charset="utf-8"> //代码自己下载 <link rel="stylesheet" href="http://www.jq22.com/jquery/boo…
可能有两个原因:1.maven中某些jar包下载不下来 从其他地方下载jar文件放到相应maven本地库的.m2里2..classpath文件中缺少(下面代码的作用是制定maven的jar发布路径)<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"> <attributes> <attribute name="or…
use `testdb`; update dtable d INNER JOIN new_table n ON d.details = n.details set d.email = n.email, d.cellphone =n.cellphone,d.contact = n.contact,d.address = n.address update 遇到 disable safe 使用 以下语句解决 SET SQL_SAFE_UPDATES=0;…
一.发现问题:启动 tomcat 控制台报该错误.   二.原因:tomcat 的 jdk 版本和编译.class的 jdk 版本不一致.   三.解决办法:   步骤一: 查看 MyEclipse 的 jdk 版本和位置:Window—>Preferences—>Java—>Installed JRES.设置如下图所示:       步骤二: 查看 MyEclipse 的 compiler版本:Window—>Preferences—>Java—>Compiler,…
一.双边距问题浮动元素的外边距会加倍,但与第一个浮动元素相邻的其他浮动元素外边距不会加倍.解决方法:在此浮动元素增加样式  display:inline; 二.图片产生的间隙父元素直接包含<img>,这个图片下方会和父元素边缘产生间隙.解绝方法:1.在源代码中让</div>和<img>在同一行,因为那个间隙是由换行符产生的.               2.给<img>添加样式  display:block; 三.最小高度问题块元素最小高度为10px,当高度…
错误 Parser Error Message: The base class includes the field 'rvEquipment', but its type (Microsoft.Reporting.WebForms.ReportViewer) is not compatible with the type of control (Microsoft.Reporting.WebForms.ReportViewer). 添加引用,因为项目的.Net框架版本是4.0,因此Report…
JavaScript 被称为JS,是作为浏览器的内置脚本语言,为我们提供操控浏览器的能力,可以让网页呈现出各种特殊效果,为用户提供友好的互动体验.JS是Web前端入门教程中的重点和难点,而浏览器兼容性是JS中比较容易出错的知识. 1.网页中插入图片会产生图片向下撑大3像素的问题 解决方式:1)display:block;2)vertial-align:top/middle/bottom;3)给图片添加浮动float. 2.用a标签插入的图片在IE浏览器中会出现边框 解决方式:border:non…