- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Wed, 23 Mar 2005 12:27:22 +0100
- To: Stefano Debenedetti <ste@demaledetti.net>
- CC: www-forms@w3.org
Stefano Debenedetti wrote:
> Not sure how to fully replace the label with an image, in the example
> above I used a background so that it degrades well on not so good CSS
> implementations (IE) anyway.
Something like:
@namespace xforms url(http://www.w3.org/...);
xforms|label{
display:block;
height:20px;
width:100px;
text-indent:-1000em;
overflow:hidden;
background:url(foo) no-repeat;
}
... should work. When the CSS3 content module is finished and
implemented you can use:
xforms|label{
content:url(foo);
}
... 'content' is already supported in Opera, but Opera does not support
namespace selectors and does not has an XForms plugin/extension I believe.
--
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Wednesday, 23 March 2005 11:27:55 UTC