Fog Creek Software
Discussion Board




print improvement(CSS)

My first customizing of FogBugz was to hide the menu when printing. I've probably forgotten a few, but printouts look a lot cleaner already.  It works on most modern browsers.

I've appended this to styles.asp:

<% '18-08-2003 Adriaan v.d. Brand customized: added media dependent layout for print : hide menu %>
@media print {
    TD.navBar1,A.navBar2, TD.navBar3, INPUT.gotoEdit, A.nextPrev,SPAN.subscribe,.dlgButton,.menu {
      visibility:hidden;
      }
}

Adriaan van den Brand
Monday, August 18, 2003

Hi Adriaan, off-course visibility: hidden will work but still occupy the space required as if it were shown.
It's better to use display: none

Hendrik de Goede
Thursday, September 18, 2003

*  Recent Topics

*  Fog Creek Home