Is this a quiz?
Your #navlist is not inside a #footer and your #noprint is not an id but
a class.

On Thu, 6 Nov 2008 19:55:37 -0500, "Jim Pinkham" <[EMAIL PROTECTED]>
said:
> Sorry this isn't so wicket specific, but I think I'm doing this media
> type
> thing correctly - what am I missing?  Here's the view-source of my wicket
> page:
> 
> <head>
>   <title>First Unitarian Universalist Church of Columbus Auction
>   2009</title>
>   <link href="app.css" rel="stylesheet" type="text/css" media="all"/>
>   <link href="print.css" rel="stylesheet" type="text/css" media="print"/>
> </head>
> <body>
>   <div id="navcontainer">
>     <h2 align="center">FirstUU Auction <span
>     wicket:id="year2">2009</span></h2>
> 
>     <ul id="navlist">
>       <wicket:link>
>         <li><a href="./">Home Page</a></li>
>         <li><a
>         
> href="?wicket:bookmarkablePage=:org.firstuucolumbus.auction.page.CatalogPage">Auction
> Catalog</a></li>
>         <li><a href="CalendarPage.html">Event Calendar</a></li>
>         <li><a
>         
> href="?wicket:bookmarkablePage=:org.firstuucolumbus.auction.page.StatementPage">My
> Statement</a></li>
>       </wicket:link>
>     </ul>
>     <span class="noprint" wicket:id="hello">Welcome Jim Pinkham</span>
> 
> yadda yadda yadda.
> 
> For some reason, when I do print-preview, I'm still seeing the <ul
> id="navlist"> element and the last line <span class="noprint" ...
> "Welcome
> ..."
> 
> app.css and print.css are in the same folder, and print.css starts with:
> 
> div#footer ul#navlist, #noprint
> {
> display: none;
> }
> 
> All the app.css styles are applied properly, but the display:none doesn't
> seem to be taking effect on the class="noprint" or the ul#navlist.
> 
> Thanks,
> -- Jim.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to