CSS - 更改当前页面链接的背景图像

时间:2013-09-07 19:48:42

标签: css joomla2.5

嘿,有人可以请求帮助,我已经绕过这个圈子了。我想更改当前页面上链接的背景图像。这是我的css。感谢

/* button1 */
#header  ul li.item-101 a {width:140px; height:56px; background:url(../images/buttonBlack.png) no-repeat;}
#header  ul li.item-101 a:hover,
#header  ul li.item-101 a.active {background:url(../images/buttons_03.png) no-repeat;}

/* button2 */
#header  ul li.item-102 a {width:140px; height:56px; background:url(../images/buttonBlack.png) no-repeat;}
#header  ul li.item-102 a:hover,
#header  ul li.item-102 a.active {background:url(../images/buttons_03.png) no-repeat;}

/* button3 */
#header  ul li.item-103 a {width:140px; height:56px; background:url(../images/blackbuttonlong.png) no-repeat;}
#header  ul li.item-103 a:hover,
#header  ul li.item-103 a.active {background:url(../images/blueButtonLong.png) no-repeat;}

/* button4 */
#header  ul li.item-104 a {width:92px; height:56px; background:url(../images/buttonBlack.png) no-repeat;}
#header  ul li.item-104 a:hover,
#header  ul li.item-104 a.active {background:url(../images/buttons_03.png) no-repeat;}

/* button5 */
#header  ul li.item-105 a {width:92px; height:56px; background:url(../images/buttonBlack.png) no-repeat;}
#header  ul li.item-105 a:hover,
#header  ul li.item-105 a.active {background:url(../images/buttons_03.png) no-repeat;}

0 个答案:

没有答案