Team:HIT-Harbin/header

From 2011.igem.org

(Difference between revisions)
Line 44: Line 44:
width:965px; /* 设置导航容器的宽度为965px */
width:965px; /* 设置导航容器的宽度为965px */
         hight:30px;
         hight:30px;
-
         border-bottom-color:#47a4be;
+
         border-bottom-color:#418fa5;
-
         border-bottom-width:10px;
+
         border-bottom-width:20px;
         }
         }
#nav :after{
#nav :after{
Line 65: Line 65:
.nav li a {
.nav li a {
display:block; /* 将内联元素设置为块元素,使其具备宽高 */
display:block; /* 将内联元素设置为块元素,使其具备宽高 */
-
height:100%; /* 设置锚点a标签的高度为父容器的高度 */
+
height:80%; /* 设置锚点a标签的高度为父容器的高度 */
text-align:center; /* 容器内的文本居中 */
text-align:center; /* 容器内的文本居中 */
text-decoration:none; /* 设置文本无下划线 */
text-decoration:none; /* 设置文本无下划线 */

Revision as of 02:07, 28 August 2011