- From: Nils Dagsson Moskopp <nils-dagsson-moskopp@dieweltistgarnichtso.net>
- Date: Sun, 05 Oct 2008 22:13:31 +0200
Am Sonntag, den 05.10.2008, 12:20 -0700 schrieb Garrett Smith:
> But what if the designer wants to use an image?
>
> <input type="search" placeholder="ybang.gif">
>
> Would display the text:
>
> "bang.gif"
>
> - not the binary resource of the image. In some cases, designers or
> marketing will want an image there. Maybe some ui css would be a
> possibility:
>
> placeholder-background: url(bang.gif) no-repeat center;
IMO it'd have to be more like
input:hint
{
background: url(foo.bar);
}
but can we switch over that discussion to CSS WG now ?
Cheers,
Nils
Received on Sunday, 5 October 2008 13:13:31 UTC