Re: CSS Arrangement Order
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: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: CSS Arrangement Order
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/ - Michael Sparer http://techblog.molindo.at -- View this message in context: http://www.nabble.com/CSS-Arrangement-Order-tp21776162p21788633.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
CSS Arrangement Order
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-tp21776162p21776162.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org