on 04-30-2009 5:26 PM
Hello,
I have uploaded 2 custom style sheets under "km/docs/etc/wpceditor/css/runtime". I am referencing only one stylesheet in my jsp layout. The web pages are using both custom style sheets in the runtime. How can I make the layout use only one custom style sheet that I am referencing in the JSP.
Hi Tony,
Not very sure but i experienced that by specifying the css in JSP we are forcing the layout to use that css. But if some styles does not match in that specified css Then it will refer the other css present at runtime folder.
_Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
Can you be more specific when you said
"But if some styles does not match in that specified css Then it will refer the other css present at runtime folder."
In my case,am using 3 custom style sheets(File1.css, File2.css, File3.css). At run time, all my pages are using all 3 style sheets, even though, I have referenced only one stylesheet in the JSP layout:
<LINK REL="stylesheet" HREF="irj/go/km/docs/etc/wpceditor/css/runtime/File1.css" />
Thanks for your response.
Hi Tony,
Let you have some tag in xsl <text1> but for this you did not defined any thing in File1.css then it will try to pick from File2.css .
For your case try to refer CSS (File1.css) in your XSL. By using following code
<link rel="stylesheet" type="text/css" href="path to .css file"/>
_Vishal
Hi Tony,
In you custom JSP and xsl files you should assign your own classes and IDs to the html elements.
That way the relevant styling information will come only from your own css files, and you'll be able to control the style of each element in your pages.
Kind regards,
Avishai Zamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
All css files under the runtime directory will be included in your page automatically.
Kind regards,
Avishai Zamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.