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 |
+ | : 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]] |
+ | -- [[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)