Sharon
05-13-2006, 11:42 AM
I am using CSS to generate a printer-friendly webpage for Internet Explorer. The same CSS however is not working with Netscape or FireFox.
As an example, I have used HVMenu in our web pages for navigation.
To hide the HVMenu when printing, I created a class definition in our PRINT style sheet file:
.menuItem { visibilty: hidden; display: none; }
and in the menu_com.js file I used
this.className = "menuItem"; in MbrSetUp() function.
This suppresses the navigation bar from getting printed when Internet Explorer 6.0 is used. The navigation bar does not get suppressed when the page is printed from Netscape 7.1 or FireFox 1.0.
Can someone help?
As an example, I have used HVMenu in our web pages for navigation.
To hide the HVMenu when printing, I created a class definition in our PRINT style sheet file:
.menuItem { visibilty: hidden; display: none; }
and in the menu_com.js file I used
this.className = "menuItem"; in MbrSetUp() function.
This suppresses the navigation bar from getting printed when Internet Explorer 6.0 is used. The navigation bar does not get suppressed when the page is printed from Netscape 7.1 or FireFox 1.0.
Can someone help?