SGCommand
mNo edit summary
Line 1: Line 1:
  +
== Place all print-specific rules in an @media print block ==
== When Printing Hide TOC & Categories Links ==
 
: please can you add the following code:
+
: please can you updated the '''Place all print-specific rules in an @media print block.''' with the following code:
   
 
/*
 
/*
Line 8: Line 8:
 
#toc {display: none;}
 
#toc {display: none;}
 
#catlinks {display: none;}
 
#catlinks {display: none;}
  +
#editsimilar_links {display: none;}
  +
#stub {display: none;}
 
}
 
}
 
This will hide the TOC & Categories link when printing a page/article
 
   
 
thanks
 
thanks
   
-- [[User:Chief38956|Chief]] 01:59, 21 October 2008 (UTC)
+
-- [[User:Chief38956|Chief]] 02:04, 2 August 2009 (UTC)

Revision as of 02:04, 2 August 2009

Place all print-specific rules in an @media print block

please can you updated the Place all print-specific rules in an @media print block. with the following code:
/*
** Place all print-specific rules in an @media print block.
*/
@media print {
#toc {display: none;}
#catlinks {display: none;}
#editsimilar_links {display: none;}
#stub {display: none;}
}

thanks

-- Chief 02:04, 2 August 2009 (UTC)