• 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 in WO - [SORTED - IT WORKS]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CSS in WO - [SORTED - IT WORKS]


  • Subject: Re: CSS in WO - [SORTED - IT WORKS]
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Fri, 19 Mar 2004 10:41:30 +0000

Yes it does Liz, and I have to applogise to everyone because I was being a bit hasty. My path is actually working and I am seeing the style sheet. I thought I had text decoration set to none yet it wasn't even set in that style sheet, so where I could see undelined links on my app when I was expecting none I paniced.... just a bit.

You have my sincerest apologies everyone.

Jonathan :^)


From: Elizabeth Lynch <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden
Subject: Re: CSS in WO
Date: Fri, 19 Mar 2004 10:17:00 +0000

Jonathan

We use something like:

<link href="/appstuff/stylesheets/ept.css" rel="stylesheet" type="text/css" />

which is also relative to the docroot. So the docroot for this system is: /Library/Webserver/Documents. The stylesheets file is actually physically located at;

 /Library/Webserver/Documents/appstuff/stylesheets/ept.css

Does that help?

Liz




On 19 Mar 2004, at 10:08, Jonathan Fleming wrote:

I've read many archived posts on the subject and have followed their advice, but still I can not get the style sheet to do it's thing. The path I use is relative to the webserver's doc root and is the same sort of path I use for my images which all work fine. Where am I going wrong here? This is the HTML in the template component:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<HEAD>
<TITLE><WEBOBJECT NAME=String1></WEBOBJECT></TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="/WebObjects/BTT.woa/Contents/WebServerResources/Images_dir/ StyleSheets/main.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--


-->
</style></HEAD>

<WEBOBJECT NAME=Body1>
<TABLE WIDTH=100% BORDER=0 CELLPADDING=1 CELLSPACING=0 BGCOLOR=#000000>........ blah, blah, blah


Advanced Thanks
Jonathan :^)

_________________________________________________________________
Express yourself with cool emoticons - download MSN Messenger today! http://www.msn.co.uk/messenger
_______________________________________________
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.



_________________________________________________________________
Sign-up for a FREE BT Broadband connection today! http://www.msn.co.uk/specials/btbroadband
_______________________________________________
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.



  • Prev by Date: CSS in WO
  • Next by Date: WOStats in Monitor
  • Previous by thread: CSS in WO
  • Next by thread: WOStats in Monitor
  • Index(es):
    • Date
    • Thread