Make the redundent portion of the lower navigation area disappear from the

printed version for browsers that support "@media print" in CSS.
This commit is contained in:
Fred Drake 2003-09-04 19:30:15 +00:00
parent 1e3bdf6c45
commit 859c46a1fd
2 changed files with 13 additions and 3 deletions

View File

@ -140,3 +140,11 @@ div.note .label { margin-right: 0.5em;
* the top of modules.
*/
.availability .platform { font-weight: bold; }
/*
* Some specialization for printed output.
*/
@media print {
#bottom-navigation-panel { display: none; }
}

View File

@ -227,14 +227,16 @@ sub get_version_text() {
sub top_navigation_panel() {
return "\n"
return "\n<div id='top-navigation-panel'>\n"
. make_nav_panel()
. "<br /><hr />\n";
. "<br /><hr /></div>\n";
}
sub bot_navigation_panel() {
return "\n<p></p><hr />\n"
return "\n<div id='bottom-navigation-panel'>\n"
. "<p></p><hr />\n"
. make_nav_panel()
. "</div>\n"
. "<hr />\n"
. get_version_text()
. "\n";