Am Sonntag, den 05.10.2008, 22:13 +0200 schrieb Nils Dagsson Moskopp:
> 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
>
Disregard that, David Baron's suggestion of a value pseudoattribute
seems even cooler.- Re: [whatwg] Placeholder op... Nils Dagsson Moskopp
- Re: [whatwg] Placeholder op... Kristof Zelechovski
- Re: [whatwg] Placeholder op... timeless
- Re: [whatwg] Placeholder op... Andy Lyttle
- Re: [whatwg] Placeholder op... Tab Atkins Jr.
- Re: [whatwg] Placeholder op... Nils Dagsson Moskopp
- Re: [whatwg] Placeholder op... Garrett Smith
- Re: [whatwg] Placeholder op... L. David Baron
- Re: [whatwg] Placeholder op... Garrett Smith
- Re: [whatwg] Placeholder op... Nils Dagsson Moskopp
- Re: [whatwg] Placeholder op... Nils Dagsson Moskopp
- Re: [whatwg] Placeholder op... Garrett Smith
- Re: [whatwg] Placeholder op... Tab Atkins Jr.
- Re: [whatwg] Placeholder op... Garrett Smith
- Re: [whatwg] Placeholder op... Nils Dagsson Moskopp
- Re: [whatwg] Placeholder op... Nils Dagsson Moskopp
- Re: [whatwg] Placeholder op... Tab Atkins Jr.
- Re: [whatwg] Placeholder option for text inp... Jonas Sicking
- Re: [whatwg] Placeholder option for text input boxes Kristof Zelechovski
- Re: [whatwg] Placeholder option for text input b... Andy Lyttle
- Re: [whatwg] Placeholder option for text inp... Tab Atkins Jr.
