You should really install firebug and web developer on firefox. Both
will help you figure out what wrong when you hit problems like this..
Jim Pinkham wrote:
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.
--
-Wicket for love
Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]