.mmenu Class not hiding all collapsible menus in CSS @print?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
sajelect
Beginner
Beginner
Posts: 4
Joined: Tue Jun 10, 2003 5:58 pm

.mmenu Class not hiding all collapsible menus in CSS @print?

Post by sajelect »

The .mmenu class doesn't seem to hide all open menus when using a collapsible menu. It hides the main menu, but any opened submenus still print?

I have the following CSS in the head tag on the page:

Code: Select all

<style type="text/css">
@media print {
  .mmenu {
      position:absolute;
      display: none;
    }
  }
</style>
See default milonic collapsible menu with a CSS @ print directive
http://www.thebroadcastshop.com/local/s ... ollapse10/


Any other ideas?

Thanks,
Jason
sajelect
Beginner
Beginner
Posts: 4
Joined: Tue Jun 10, 2003 5:58 pm

Post by sajelect »

I raised a support ticket with milonic and received the following response which does take care of the problem.

Code: Select all

With regards to the printing, treemenus have their class names changed so you need to add this to your CSS: 

     .treeBranch { DISPLAY: none; POSITION: absolute; } 

Post Reply