The same way you would with static html.

A typical app might have a top level directory structure of:

css/
images/
js/
WEB-INF/

If you have a stylesheet file with something like:

.info {
    background: url("images/button-center.gif") no-repeat top right;
}

Then you can do:

<span jwcid="@Any" class="info" />

On 7/28/06, Mike Oestereter <[EMAIL PROTECTED]> wrote:

Hi

How do I define the style for an element to use an asset in stead of
the direct image, either as an inline style definition or
alternatively as a stylesheet ?

<span jwcid="@Any"
style="background-image:url(img/button-center.gif);" >Blah</span>

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to