Having an interesting dilemma here.. I'm trying to utilize this CSS code:
.custom-forums {
height: auto;
width: 100%;
border-image-source:transparent url("../images/forums.png") center top no-repeat;
}
in combination with:
.custom-forums:hover {
background-image: url('../images/forums-hover.png');
}
The challenge lies in the fact that when the width
is set to 100%
, the image doesn't display. However, if both width
and height
are set to 170px
, it works fine. I aim to have the button adjust its size based on the screen resolution while still being able to change the hover image as desired.
Appreciate any insight, Mas21