CSS in a separate file

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CSS in a separate file

Rodrigo Ojeda
Hi:

I'm a newbie on Orbeon Forms and I want to know how to put my css defs
in a separate file (not like the examples).

I tried with <script ref="mycss.css"...> and <link href="mycss.css"...>
inside the <head> tag but it didn't work.

Regards.

--
Don't try to bend the spoon, that's impossible. Instead, only try to
realize the truth.
-What truth?-
There is no spoon.
-There is no spoon?-
Then you'll see that it's not the spoon that bends, it is only yourself.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: CSS in a separate file

Erik Bruchez
Administrator
Rodrigo,

Try something like:

   <script ref="/apps/[my-app]/mycss.css"...>

where [my-app] is the name of the directory containing your application
under the /apps folder.

-Erik

Rodrigo Ojeda wrote:

> Hi:
>
> I'm a newbie on Orbeon Forms and I want to know how to put my css defs
> in a separate file (not like the examples).
>
> I tried with <script ref="mycss.css"...> and <link href="mycss.css"...>
> inside the <head> tag but it didn't work.
>
> Regards.
>
>

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: CSS in a separate file

Rodrigo Ojeda
Thanks Erik

It's works with <link href="/apps/[my-app]/mycss.css"...>

But you gave me the clue with the "/apps/[my-app]/" path because I tried
with the alternatives "/ops/[my-app]/" or just simply "/[my-app]/" :)

Thanks a lot again

Regards!

On Mon, 2007-06-04 at 10:49 -0700, Erik Bruchez wrote:

> Rodrigo,
>
> Try something like:
>
>    <script ref="/apps/[my-app]/mycss.css"...>
>
> where [my-app] is the name of the directory containing your application
> under the /apps folder.
>
> -Erik
>
> Rodrigo Ojeda wrote:
> > Hi:
> >
> > I'm a newbie on Orbeon Forms and I want to know how to put my css defs
> > in a separate file (not like the examples).
> >
> > I tried with <script ref="mycss.css"...> and <link href="mycss.css"...>
> > inside the <head> tag but it didn't work.
> >
> > Regards.
> >
> >
>
>
> plain text document attachment (message-footer.txt)
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
Don't try to bend the spoon, that's impossible. Instead, only try to
realize the truth.
-What truth?-
There is no spoon.
-There is no spoon?-
Then you'll see that it's not the spoon that bends, it is only yourself.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws