- 浏览: 46743 次
- 性别:
- 来自: 常州
最新评论
-
hjf0900380211:
在ie7下加了before也没有任何效果.....
jquery.pseudo.js让IE6、7也能用伪类:before -
liuxiang822:
你上下都加了P标签 ,想要高度自适应很简单。给P标签高度加上百 ...
iframe高宽自适应 -
and80506:
<!DOCTYPE html PUBLIC " ...
iframe高宽自适应 -
huangyunbin:
呵呵,我也遇到类似的情况啊
诡异的<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -
summer_java:
好。。。。我要弹出框。。
jQuery弹出层插件大全
文章列表
//import java.io.File;
import java.io.IOException;
import java.net.URL;
import org.htmlcleaner.CleanerProperties;
import org.htmlcleaner.HtmlCleaner;
import org.htmlcleaner.PrettyXmlSerializer;
import org.htmlcleaner.TagNode;
import org.htmlcleaner.XPatherException;
//import com.sun.xml.inter ...
import java.util.ArrayList;
import java.util.List;
import org.apache.http.Header;
import org.apache.http.HttpResponse;
import org.apache.http.NameValuePair;
import org.apache.http.client.ResponseHandler;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client ...
DOCTYPE是document type(文档类型)的简写,在web设计中用来说明你用的XHTML或者HTML是什么版本。
要建立符合标准的网页,DOCTYPE声明是必不可少的关键组成部分;除非你的XHTML确定了一个正确的DOCTYPE,否则你的标识和CSS都不会生效。
DOCTYPE声明
开始制作符合标准的站点,第一件事情就是声明符合自己需要的DOCTYPE。
查看很多使用XHTML标准开发的网站,第一行就是:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "h ...
1. 如何创建嵌套的过滤器:
IE 、<param name="wmode" value="transparent">
FF 、<embed wmode="transparent">
<!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 ...
<!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 ...
1.thickbox
目前用的比较多的,最新版本是thickbox3.1
下载地址:http://jquery.com/demo/thickbox/#examples
PS:IE6下无弹出后可以继续滚动网页的问题。
2.colorBox
官方网站:http://colorpowered.com/colorbox/
下载地址:http://colorpowered.com/colorbox/colorbox.zip
演示实例:http://colorpowered.com/colorbox/core/example1/index.html
3.Fan ...
通过jQuery内的CSS样式操作方法,可以访问或设置DOM元素的级联样式
1、css(key, value)
在所有匹配的元素中,设置一个样式属性的值。
示例:
把所有段落的color样式属性值改为红色。
$("p").css("color","red");
HTML 代码:
<p>Test Paragraph.</p>
结果:
<p style="color:red;">Test Paragraph.</p>
2、css(name) 访问第一 ...
话不多说,先上html代码
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/&quo ...
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
& ...
.ab{ float:left;
height:24px;
width:84px;
margin-left:19px;
margin-top:3px;
}
改成:
.ab{ float:left;
height:24px;
width:84px;
margin-left:19px;
margin-top:3px;
display:inline;
}
发现只要加上display:inline;就OK了!
.ab{
font-size: 11px;
}
改成
.{
font-size: 11px;
-webkit-text-size-adjust: none;
}
-webkit-text-size-adjust: none;
ie6div高度无法小于10像素解决方法
:
font-size:0; margin:0; padding:0; border:0;
用CSS 的定义一个DIV的高度时,在IE 7浏览器下可以正常显示。但是在IE 6 中,height 在10px以下就无法定义了。这点跟表格有点类似。解决的方法如下: 法一:
定义overflow属性。比如想定义一个高度为2px 的线条。
<div style="height:2px;overflow:hidden;background:#000000;width:778px;"></div>
...