摘要: http://cued.xunlei.com/log019 阅读全文
posted @ 2013-07-30 10:48 shiloh 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 给a标签加上display:inline-block; 阅读全文
posted @ 2012-05-14 10:16 shiloh 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 简写:font:italic small-caps bold 12px/1.5em arial,verdana;等效于:font-style:italic;font-variant:small-caps;font-weight:bold;font-size:12px;line-height:1.5em;font-family:arial,verdana;顺序:font-style | font-variant | font-weight | font-size | line-height | font-family(注:简写时,font-size和line-height只能通过斜杠/组成一个值 阅读全文
posted @ 2012-05-12 11:13 shiloh 阅读(428) 评论(0) 推荐(0) 编辑
摘要: <!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- 阅读全文
posted @ 2012-04-28 16:39 shiloh 阅读(354) 评论(0) 推荐(0) 编辑
摘要: li中包含两个或两个以上浮动,且没有其它不浮动元素的时候就会出现间隔。解决方法:为li添加 vertical-align:middle; 阅读全文
posted @ 2012-04-23 14:38 shiloh 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 第一,给图片img标签display:block。img{display:block}第二,定义容器里的字体大小为0。div {width:110px;border:1px solid #000000;font-size:0}第三,定义图片img标签vertical-align:bottom,vertical-align:middle,vertical-align:topimg{vertical-align:bottom}其他还有把图片下边距设为负值和改写HTML标签的排列。我觉得前三种就完全可以解决了。造成图片在IE下与容器下边界有空隙的原因在网上搜了一下,发现old9说的图片文字等inli 阅读全文
posted @ 2012-04-23 11:39 shiloh 阅读(370) 评论(0) 推荐(0) 编辑
摘要: <ul> <li> <dl> <dt>话费</dt> <dd> <ul> <li>话费直充</li> <li>话费直充</li> <li>话费直充</li> <li>话费直充</li> <li>话费直充</li> </ul> </dd> </dl> ... 阅读全文
posted @ 2012-04-19 12:27 shiloh 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 第一种方法:我们可以利用IE6不识别!important来实现:height:auto!important; height:500px; min-height:500px; 这3句代码就让IE6也有了高度min-height的效果。HTML代码<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://ww 阅读全文
posted @ 2012-04-17 16:09 shiloh 阅读(193) 评论(0) 推荐(0) 编辑