[Wicket-user] Custom CSS for Tree and TreeTable

2007-04-25 Thread Stefan Wille

Hi,

is it possible to use my own CSS style definitions for Tree and 
TreeTable? Both components add their own CSS file via header 
contribution. I would like to override some style definitions. How would 
I do this?


Thanks,
Stefan

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Custom CSS for Tree and TreeTable

2007-04-25 Thread James McLaughlin

You can override the css with more specific rules. Wicket tree already uses
an html element specifier, so your best bet would be to put the tree in
another div with a class, say mytree. Then in the wicket:head section of
your panels markup, provide a style element with rules such as:

.mytree div.wicket-tree {
 border-top: 3px solid #000;
}

best,
jim

On 4/25/07, Stefan Wille [EMAIL PROTECTED] wrote:


 Hi,

is it possible to use my own CSS style definitions for Tree and TreeTable?
Both components add their own CSS file via header contribution. I would like
to override some style definitions. How would I do this?

Thanks,
Stefan


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user