2011年10月17日
摘要: <!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=gb23 阅读全文
posted @ 2011-10-17 09:03 809800327 阅读(112) 评论(0) 推荐(0)
  2011年10月13日
摘要: <style type="text/css">table{color:#565;font:12px Arial, Helvetica, sans-serif;}td{background:#dfc;border-bottom:2px solid #b3de94;border-top:3px solid #fff;padding:9px;}td:hover, td.hover{background-color:#595;color:#fff;}</style></head><body><table sunmary=&quo 阅读全文
posted @ 2011-10-13 10:16 809800327 阅读(175) 评论(0) 推荐(0)
  2011年10月6日
摘要: <style type="text/css">#menu{font-size:14px; font-family:Arial, Helvetica, sans-serif;margin:0px auto;}#menu ul{ list-style-type:none; text-align:right; width:120px; float:left;background-color:#deeof9;}#menu ul li{ line-height:30px;margin:2px 0px 0px 0px;psdding:0px; }#menu ul li a: 阅读全文
posted @ 2011-10-06 18:45 809800327 阅读(198) 评论(0) 推荐(0)
  2011年9月23日
摘要: CSS对浏览器的兼容性有时让人很头疼,或许当你了解当中的技巧跟原理,就会觉得也不是难事,从网上收集了IE7,6与Fireofx的兼容性处理方法并整理了一下.对于web2.0的过度,请尽量用xhtml格式写代码,而且DOCTYPE 影响 CSS 处理,作为W3C的标准,一定要加 DOCTYPE声名. CSS技巧 1.div的垂直居中问题 vertical-align:middle; 将行距增加到和整个DIV一样高 line-height:200px; 然后插入文字,就垂直居中了。缺点是要控制内容不要换行 2. margin加倍的问题 设置为float的div在ie下设置的margin会加倍。这是 阅读全文
posted @ 2011-09-23 12:56 809800327 阅读(208) 评论(0) 推荐(0)