Re: Web page design in WO
Re: Web page design in WO
- Subject: Re: Web page design in WO
- From: Kevin Xiaowen Ren <email@hidden>
- Date: Fri, 18 Feb 2005 09:23:23 +1300
in the <style>, you have to have some code like this
#back1 {
position:absolute;
top:63px;
left:0;
width:802px;
height:280px;
background-image:url(<WEBOBJECT
NAME=BackgroundImageURL1></WEBOBJECT>);
background-repeat:repeat-x;
z-index:1;
}
in wod file
BackgroundImageURL1: WOString
{
value=getBGImageURL1;
}
in java code:
public String getBGImageURL1(){
return
WOApplication.application().resourceManager().urlForResourceNamed("back1.gif",
null, null, this.context().request());
}
good luck!
kevin
At 14:34 17/02/2005 -0500, you wrote:
Hi,
I tried this with my external CSS and it worked great. However, the
CSS contains a reference to a "backgroung-image" that never shows up.
I tried the same technique using absolute paths, but that didn't seem
to work. Any idea?
Dick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden