#globallink{
width:100%;
background:url(image/12.jpg) repeat-x;
}
#globallink ul{list-style-type:none;
padding:0px;
margin:0px;
background:url(image/11.jpg) repeat-x;
}
#globallink li{font-size:30px;
font-family:"微软雅黑";
float:left;
text-align:center;
idth:167px;
height:42px;
}
#globallink a{display:block;
padding:9px 5px 11px 5px;
margin:0px;
}
检查下图片路径
#globallink li{font-size:30px;
font-family:"微软雅黑";
float:left;
text-align:center;
idth:167px; //还有这个写错了,也可能导致效果出不来
height:42px;
weidth是我复制时错了,你看下我DIV
给#globallink加个高度试试
同意楼上的
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号