Re: CSS link problem
Re: CSS link problem
- Subject: Re: CSS link problem
- From: David LeBer <email@hidden>
- Date: Tue, 27 Apr 2004 09:49:16 -0400
On 27-Apr-04, at 9:14 AM, Randall Perry wrote:
on 4/27/04 2:53 AM, email@hidden at email@hidden
wrote:
The problem with the original code is that the <link> and
<webobjects> tags
are not properly nested.
Pierre
What would proper nesting look like?
The only thing missing is a closing /
<link rel="stylesheet" href="<WEBOBJECT NAME=ResourceURL1></WEBOBJECT>"
type="text/css" name="test" />
This will render to something like:
<link rel="stylesheet"
href="/cgi-bin/WebObjects/OetkerCM.woa/wr?
wodata=file:/Users/david/DevProjects/_eclipse/workspace/Oe
tkerCM/ocmgr.css" type="text/css" name="test" />
And as you discovered, it works fine. I just needs to be in the
<head></head> of your document. It's an HTML thing...
At 6:31 PM -0400 4/26/04, Randall Perry wrote:
Followed someone's advice on the list of putting stylesheet in Web
Server
Resources and adding a WOResourceUrl to a WO Builder page pointing
to the
stylesheet, then referencing that in the href of the css link:
<link rel="stylesheet" href="<WEBOBJECT
NAME=ResourceURL1></WEBOBJECT>"
type="text/css" name="test">
This works fine, insofar as the page displays the styles properly.
But,
where I place the WOResourceUrl it prints out the URL to the style
sheet.
Not exactly what I wanted :-P
What's the deal?
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.