This has very little to do with Cocoa and so you're probably on the wrong list. /rbi8.css specifies a CSS file located in the root directory which is not what you want. Read up on how paths/URLs work with HTML. You want something more like ../rbi8.css

On 3 Nov 2009, at 09:31, Philip Juel Borges wrote:

Hi!

I'm new to iPhone development. But loving it!

In my project I have added folders to the resource folder. The structure looks like this.

TOC.html
rbi8.css
data
  I
  I--ge
        I--1.html
        I--2.html
         I--3.html


Now, all my html files use css for styling. As you can see I have one such file called rbi8.css. I would like to have that file contain all my css style, so I if I change the style in that file it changes the style of all my html files in the various folders.

I thought I could solve the situation by putting this code in my html files:

        <link rel="stylesheet" type="text/css" src="/rbi8.css">


My problem:
This doesn't work. In my html files I can refer forward in my data directory, but not backwards.

Hope you can help.

--Philip
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to cocoa...@mikeabdullah.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to