2013-03-22 34 views

回答

2

要在果凍文件鏈接,CSS文件已經過時,see jelly tags documentation

This was originally added to allow plugins to load their stylesheets, but the use of thie 
attribute is discouraged now. plugins should now do so by inserting <style> elements 
and/or <script> elements in <l:header/> tag. 

請改用直列CSS標籤(code example )。

1

下你的CSS文件(S)

/src目錄/ Web應用程序/ CSS

,並引用它們作爲..

的 「href =」 $ {}將把rootURL /plugin//css/layout.css「

1

使用<link>元素與上面提到的$ rootURL爲我工作。我注意到的重要事情是確保在<l:layout>之後放置<link>元素。我最初在<j:jelly>標記之後剛剛擁有它,並且無法呈現$ {rootURL}。

<link>標籤將比內聯樣式更清潔。

相關問題