css笔记
There is no nutrition in the blog content. After reading it, you will not only suffer from malnutrition, but also impotence.
<!--
/* Basic Styling
------------------------------------*/
body {
font: 76%/1.8 "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
background-color: #fff;
}
/* mainNav
------------------------------------*/
ul {
margin: 0;
padding: 0;
float: left;
width: 720px;
list-style: none;
text-transform: uppercase;
}
ul li {
float: left;
background: url(images/tab-right.gif) no-repeat top right;
}
/* Hack to make IE/Mac play nice */
li a {
padding: 0 2em;
line-height: 2.5em;
background: url(images/tab-left.gif) no-repeat top left;
text-decoration: none;
color: #fff;
float: left;
display: block;
}
ul a:hover {
color: #333;
}
-->
本文档提供了一份简洁的CSS样式规范,包括基本样式设置和导航菜单的样式定义。通过这些样式可以快速实现网页的基本布局和导航栏设计。
2682

被折叠的 条评论
为什么被折叠?



