随笔分类 -  html css

IE html5 header footer nav article section
摘要:<!--[if ie]><script>document.createelement("header");document.createelement("footer");document.createelement("nav");document.createelement("article");document.createelement("section");</script><![endif]--> <!--[if ie]>&l 阅读全文

posted @ 2012-03-14 16:38 kxdhm 阅读(266) 评论(0) 推荐(0)

火狐下的ul li inline-block float导致的差异
摘要:<!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-02-17 12:55 kxdhm 阅读(527) 评论(0) 推荐(0)

a标签几种状态在IE6 7下的表现
摘要:a{text-decoration:none;color:#84a8c8;}a:link{color:#4199d7}a:visited{color:#0ff;}a:hover{color:#f00;cursor: pointer;}a:active{color:#ff0;}<a href="javascript:;">asdfasdf</a>IE6 7 下,点击,鼠标up时,颜色始终为active的颜色,其他浏览器为hover的颜色与设计的效果不符,添加事件,mouseover mouseout click 阅读全文

posted @ 2012-02-16 12:06 kxdhm 阅读(264) 评论(0) 推荐(0)

webkit webkitTransform -webkit-transition-duration -webkit-transition-function
摘要:<div style="width: 4em; height: 4em; margin: 2em; background-color: blue; color: white; -webkit-transition-duration: 5s; -webkit-transition-function: ease-out;" onclick='style.webkitTransform="translate(16em, -16em) scale(6) rotate(720deg)"; style.backgroundColor="red 阅读全文

posted @ 2012-02-16 10:55 kxdhm 阅读(541) 评论(0) 推荐(0)

IE6 fixed
摘要:<!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-02-13 15:07 kxdhm 阅读(804) 评论(0) 推荐(0)

ul li 的list-style样式有何差别?
摘要:如题,在哪里找资料? 阅读全文

posted @ 2012-02-02 17:06 kxdhm 阅读(231) 评论(0) 推荐(0)