Code: Select all
.button-box {
etc.
-moz-box-align:stretch;
background-image: url("chrome://browser/skin/butt1.gif");
}
Does anyone know how to put an image in one's button so that it stretches?
Thanks.
Code: Select all
.button-box {
etc.
-moz-box-align:stretch;
background-image: url("chrome://browser/skin/butt1.gif");
}
ehume wrote:Does anyone know how to put an image in one's button so that it stretches?
ehume wrote: So the OS is doing something we can't do in css.
Frank Lion wrote: . . . as long as the grad was done right.
CatThief wrote:Another method you could use is to position the background-image at the top, do a repeat-x, then select the color of the bottom-most portion of the image and use that as a background-color. I did this with some buttons that are 'abnormally' increased in height by some extensions. It's a sort of fool-the-eye approach, but it works.
Frank Lion wrote:ehume wrote:Does anyone know how to put an image in one's button so that it stretches?
Yeah, is a bear in the woods, Catholic?