I tried writing it on the HTML file and using HeaderContributors. Somehow the
CSS file that I included in my HTML or .java file is always place 1st
followed by the libraries / components CSS.


Michael Sparer wrote:
> 
> I'd say just write in in there ;-)
> 
> Other possiblities are the use of HeaderContributors (see class
> HeaderContributor) also have a look at
> http://techblog.molindo.at/2008/08/wicket-interface-speed-up-merging-resources-for-fewer-http-requests.html
> which might interest you if a lot of your pages/panels come up with their
> own css
> 
> regards,
> Michael
> 
> 
> TH Lim wrote:
>> 
>> Hi,
>> 
>> How do I arrange my CSS declaration order? For example, the current order
>> is 
>> 
>> ...
>> <head>
>> ... some script tags removed
>> <link rel="stylesheet" type="text/css" href="css/style.css" />
>> <link rel="stylesheet" type="text/css" href="resources/com.acme/box.css"
>> />
>> <link rel="stylesheet" type="text/css"
>> href="resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.css"
>> />
>> </head>
>> <body>
>> ...
>> 
>> resources/com.acme/box.css and
>> resources/org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow/res/modal.css
>> are CSS included with the libraries / components I used in my web
>> application. How do I make my own CSS,css/style.css, to be placed after
>> these CSS in <head>?
>> 
>> Thanks
>> 
>> /lim/
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/CSS-Arrangement-Order-tp21776162p21791475.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to