Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Importing multiple stylesheets

japherAug 26 2009 — edited Sep 1 2009
Hi,

I've been doing some skinning work and now have a rather large CSS file that I'd like to split. I've tried various methods of importing multiple CSS files but none of them seem to work. Is it possible to use more than one css file for ADF skinning?

I've tried:

1. In trinidad-skins.xml, add multiple <style-sheet-name> elements. Only the last one seemed to be picked up.

2. In my jsp page, add:
  <head><link href="css/mystyles.css" rel="stylesheet" type="text/css" /></head>
This appeared to be completely ignored.

3. In the css file referenced by trinidad-skins.xml, use @import to include other stylesheets:
@import url("css/mystyles.css");
This appeared to be completely ignored.

For 2 & 3, I tried many different URLs (e.g. /css/mystyles.css, css/mystyles.css, mystyles.css, etc).

Is this possible? Any ideas what I'm doing wrong?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2009
Added on Aug 26 2009
4 comments
2,636 views