Le 08-01-14 à 04:01, Denis Frolov a écrit :
On Jan 14, 2008, at 5:54 AM, Theodore Petrosky wrote:
I am new to external css files... I am still testing,
or rather I am testing my patience to get this to
work... If I have this line in my <head> area:
<link href="thejobstyle.css" rel="stylesheet"
type="text/css" />
Where does the file thejobstyle.css need to live.
One way is to put it along with all the images into
WebServerResources folder inside your project and use ERXStyleSheet
component to include it into the head. Inside the css you can use
relative urls to images. This way you don't need the images in you
webserver doc root and everything is stored in one place under
version control.
+1. An example:
.html:
<head>
<webobject name = "AdminCSS"/>
</head>
.wod:
AdminCSS : ERXStyleSheet {
filename = "css/admin.css";
framework = "app";
} _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]