It definitely shouldn't override it. Therefore the !important thing in
css. I've tried it and it worked well for me.
-Matej
Scott Swank wrote:
> This seems to be a bit nastier than that -- unless I'm missing something
> simple. This goes at the top of the page:
>
> <wicket:head>
> <style type="text/css">
> div.calendar {
> z-index: 30000 !important;
> }
> </style>
> </wicket:head>
>
> However the js in the DatePicker generates its own css that overrides
> the css the above. However, the following approach allows the css to
> override the js' style.
>
> DatePicker dp=new DatePicker("checkOutPicker", checkOut,ds);
> dp.add(HeaderContributor.forCss("../../css/cyllenius_cal.css"));
> add( dp );
>
> Cheers,
> Scott
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user