diff options
author | Fred Drake <fdrake@acm.org> | 2003-09-04 19:30:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2003-09-04 19:30:15 (GMT) |
commit | 859c46a1fda3961b479bb2d08dcb28128a6c215e (patch) | |
tree | 35ca800cf59313e48d1073989fa54eb12f283525 /Doc/perl | |
parent | 1e3bdf6c459a2e324730dda2db53ad845ad39532 (diff) | |
download | cpython-859c46a1fda3961b479bb2d08dcb28128a6c215e.zip cpython-859c46a1fda3961b479bb2d08dcb28128a6c215e.tar.gz cpython-859c46a1fda3961b479bb2d08dcb28128a6c215e.tar.bz2 |
Make the redundent portion of the lower navigation area disappear from the
printed version for browsers that support "@media print" in CSS.
Diffstat (limited to 'Doc/perl')
-rw-r--r-- | Doc/perl/l2hinit.perl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index cbf1e41..41b2f94 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -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"; |