[UPHPU] Background image question
Wade Preston Shearer
lists at wadeshearer.com
Thu Jul 19 09:20:47 MDT 2007
> 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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20070719/80b9c06d/smime.bin
More information about the UPHPU
mailing list