On 7/19/07, Wade Preston Shearer <[EMAIL PROTECTED]> wrote:
> I have an image that I am using as the background for submit buttons.
> However, if I increase the size of the font it looks funny. Isn't
> there a
> way to make the background image stretch or fill the entire button?
I would recommend doing it like this:
<input class="subutton" src="/images/blank.gif" type="image"
name="submit" value="Login" />
input.subutton
{
background: url('/images/ButtonBg.gif') top center repeat;
}
If I change the type to image, I don't get the submit button anymore. It
just displays blank.gif. What am I doing wrong?
--
Scott Hill
"May you solve interesting problems" - Author Unknown
"A fanatic is one who can't change his mind and won't change the subject." -
Sir Winston Churchill
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net