xhtml+css制作不规则导航
摘要:先看图(图片只是大致做了一下)效果展示:运行代码框无标题文档*{margin:0;padding:0;font:normal12px/25p...
先看图(图片只是大致做了一下)
效果展示:
运行代码框
无标题文档 * {margin:0;padding:0;font:normal 12px/25px "宋体";} body {background:#f8f8f8;} ul {list-style:none;width:300px;height:25px;margin:20px auto;} li {float:left;width:86px;height:25px;text-align:center;margin:0 -5px;display:inline;} a {color:#fff; float:left;width:86px;height:25px;top:0;left:0;background:url(/articleimg/2008/04/5627/03.gif) center center no-repeat;} a:hover {color:#000;background:url(/articleimg/2008/04/5627/02.gif) 0 0 no-repeat;width:86px;position:relative;} 菜单 菜单 菜单
[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
【xhtml+css制作不规则导航】相关文章:
★ css基本语法
★ firefox中div+css的外层背景色不见的解决方法
上一篇:
iframe 的用法与注意事项
下一篇:
CSS规则层叠时的优先级算法