Can't get 'no-repeat' to work.
I've replaced the bottom right corner image of Ubuntuforums.org, but can't get it to not repeat in Stylish. ...It works in the Web Developer extension.
Code:
#bottom-right {
width:13px !important;
height:33px !important;
background-image:url(http://img.photoamp.com/i/c2EaYu9.jpg) !important; background-repeat:no-repeat !important;
position:absolute;
bottom:0;
right:2px !important;
z-index:7;
}
I've tried everything I could think of.
Code:
#bottom-right {
width:13px !important;
height:33px !important;
background-image:url(http://img.photoamp.com/i/c2EaYu9.jpg) !important; background-repeat:no-repeat !important;
position:absolute;
bottom:0;
right:2px !important;
z-index:7;
}
I've tried everything I could think of.
Comments
...I thought I tried that already...
I also thought that with CSS you can change one thing (as long as you used '!important'), and leave the other declarations at their default value, as long as they didn't interfere with your change. :| ???
...If I am correct, what of these declarations interferes with my 'no-repeat' declaration?
*brainstorming CSS noob*
background: url(http://img.photoamp.com/i/c2EaYu9.jpg) no-repeat !important;
which equates to:
background-color: transparent !important; background-image: url(http://img.photoamp.com/i/c2EaYu9.jpg) !important; background-position: 0 0 !important; background-attachment: scroll !important; background-repeat: no-repeat !important;
Thanks for your help. ^_^