2012-03-30 198 views

回答

0

它只是不工作,你认为它应该工作的方式。 ;-)你有一个固定宽度的图像。理论上你可以用元素属性对其进行缩放,但这不是你想要的,因为你的圆角等不会看起来如何。

如果你想为这些标签使用这些确切的图像,我建议做一个“CSS标签推拉门”的网页搜索。滑门技术是这种类型的东西的旧备用。

0

shadetabs李一这个CSS属性到这个

.shadetabs li a { 
text-decoration: none; 
text-align: center; 
position: relative; 
z-index: 50; 
padding: 15px 0px; 
margin-right: 3px; 
margin-left: 0px; 
color: #2D2B2B; 
background: url(1.png); 
background-repeat: no-repeat; 
width: 210px; 
display: inline-block; 
} 
+0

嘿它的工作的感谢! – user1304256 2012-04-02 11:46:21