CSS style sheet to no print menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
grace422
Advanced
Advanced
Posts: 11
Joined: Sat Jul 16, 2005 12:47 am

CSS style sheet to no print menu

Post by grace422 »

I am making a printer friendly style sheet for:

http://home.comcast.net/~w.a.cotton/USFS/index.htm

Does anyone know the code to not print the milonic menu? Below is my style sheet so far.

/* CSS Document - Printer friendly */
/* Black on white with 12-point, serif fonts:*/
body { color : #000000; background : #ffffff; font-family : "Times New Roman", Times, serif; font-size : 11pt; }
/* Underline links */
a { text-decoration : underline; color : #0000ff; }
/* Remove Non-Essential Images, Ads, Navigation, and Scripting */
#bottom-nav, #lftBar, #flash{ display : none; }
vikenk
Mega Advanced
Mega Advanced
Posts: 297
Joined: Tue Nov 29, 2005 7:38 pm

Post by vikenk »

grace442,

The code to put in your style sheet is:

.mmenu
{
position:absolute;
display:none;
}

To see the full description, see the menu FAQ at:

http://milonic.com/menufaq.php#noMenuOnPrint


Viken K.
grace422
Advanced
Advanced
Posts: 11
Joined: Sat Jul 16, 2005 12:47 am

Thanks!

Post by grace422 »

Thanks! That worked.
Post Reply