Re: Question regarding how to apply CSS stylesheets?

Posted by Hank Ratzesberger on
URL: https://discuss.orbeon.com/Question-regarding-how-to-apply-CSS-stylesheets-tp42849p42850.html


Hi Patrick,

In the epilogue portion of the page flow, your XHTML file
is output as HTML 4.0, so elements with no content don't need
to be terminated, no "/>"  Orbeon Forms is attempting to deliver
widely compatible html, that is all.

http://www.orbeon.com/ops/doc/reference-epilogue

Have you tried both the theme-plain and theme-examples.xsl? You
can configure which one to use:

http://www.orbeon.com/ops/doc/reference-properties#epilogue

HTH,
Hank


On Feb 23, 2009, at 8:30 AM, Helsing, Patrik wrote:

> Hi all,
>
> I am developing a simple XHTML page and thought I should link to a  
> CSS stylesheet.
>
> Like this:
>                 <link rel="stylesheet" type="text/css" href="./
> welcome.css" />
>
> But after post-processing it through the XForms engine it ends up  
> like this in the browser
> (no end tag) and the stylesheet isn't applied...?
>
>                 <link rel="stylesheet" type="text/css" href="./
> welcome.css">
>
> What am I doing wrong here?
>
> Thanks!
> /Patrik
>
> PS: I also see these tags being generated. No end tags there  
> either...(?)
>
> <meta name="generator" content="Orbeon Forms 3.7.0beta1.200808260135">
> <link rel="shortcut icon" href="/thesky/orbeon/ops/images/orbeon-
> icon-16.ico">
> <link rel="icon" href="/thesky/orbeon/ops/images/orbeon-
> icon-16.png" type="image/png">
>
>
> This communication, including any attachments, may contain  
> information that is proprietary, privileged, confidential or  
> legally exempt from disclosure. If you are not a named addressee,  
> you are hereby notified that you are not authorized to read, print,  
> retain a copy of or disseminate any portion of this communication  
> without the consent of the sender and that doing so may be  
> unlawful. If you have received this communication in error, please  
> immediately notify the sender via return e-mail and delete it from  
> your system.
>
> --
> 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
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
OW2 mailing lists service home page: http://www.ow2.org/wws