How to add attribute to header-portlet-css?

3900734, modified 15 Years ago. Junior Member Posts: 28 Join Date: 8/28/09 Recent Posts
There are three different ways that one can add portlet's css style sheets. One of the way is to add a node <header-portlet-css> in the liferay-portlet.css. However, I have not really figured out how to add preferred or alternate css style sheet to my portlet by adding a title attribute or by changing the value of the attribute "rel". For example,

1. preferred css

<link rel="stylesheet" type="text/css" href="paul.css" title="bog standard" />

2. alternate css

<link rel="alternate stylesheet" type="text/css" href="paul.css" title="wacky" />

How can Liferay allow these type of portlet's CSS style sheets? Please see this link for more explanation.

Thanks