• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: css and WOLips help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: css and WOLips help


  • Subject: Re: css and WOLips help
  • From: Denis Frolov <email@hidden>
  • Date: Mon, 14 Jan 2008 19:50:23 +0300

Example by Pascal will work ok in development mode provided you have all the images in WebServerResources, e.g:

workspace/MyProject/WebServerResources/base.css
workspace/MyProject/WebServerResources/images/icon.gif

In base.css you can have something like:

h1.my {
	background-image: url('images/icon.gif');
}

Browsers request images relative to css file url (not current url), so you will be ok both in development and production mode.

On Jan 14, 2008, at 7:39 PM, Theodore Petrosky wrote:

but what about during the development stage.... Whilst
I am working in Eclipse?

is there an simple example out there that uses an
external css file that I could download?

Ted


--- Guido Neitzer <email@hidden> wrote:

On 13.01.2008, at 19:54, 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" />

Make it

<link href="/projectname/thejobstyle.css"
rel="stylesheet" type="text/
css" />

and put it in
"/Library/WebServer/Documents/projectname" (or
create a
symlink, see below). That's how I do it. If you put
everything in the
WebServer-Root to have shorter URLs (I don't care
about that) you
might get in trouble with more than one project.

You could have a "Web" folder in your project and a
symbolic link in "/
Library/WebServer/Documents/". If you use Webserver
connect, make
sure, that apache is allowed to access the whole (!)
path.

cug

--
Real-World WebObjects class at the Big Nerd Ranch
March 2008, Frankfurt, Germany
http://www.bignerdranch.com/classes/webobjects.shtml







____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
_______________________________________________
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

_______________________________________________ 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
  • Follow-Ups:
    • Re: css and WOLips help
      • From: Mike Schrag <email@hidden>
References: 
 >Re: css and WOLips help (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: Re: css and WOLips help
  • Next by Date: Re: The Eclipse build folder
  • Previous by thread: Re: css and WOLips help
  • Next by thread: Re: css and WOLips help
  • Index(es):
    • Date
    • Thread