Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
User's Created Tips and Insights
Style Sheets|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Mechanic |
Check out the use of style sheets to prevent objects from being printed. In the edit page add a custom header - <link rel="stylesheet" type="text/css" href="print.css" media="print" />
Then using an editor(word pad, note pad) create and save a file 'print.css' The following is an example - body { color : #000000; background : #ffffff; font-family : "Arial"; font-size : 11pt; } a { text-decoration : underline; color : #0000ff; } #Obutdiv, #Obuthome, #Obutdonate, #Obutguest, #Oaboutus, #Obutpromo, #Obutdonateo, #Ocounter, #Obutpromo, #Oobj954, #Ocount, #Obut2008o, #Obuabto, #Obuabtu, #Obut2006o, #Oobj302, #Oobj480 { display : none; } The 'display : none;' references the objects above that are prefiex with a '#O'. These objects will not print. |
||
|
|
Guru 'Geezer' Mechanic |
You can also use the wild card character (*) to prevent all objects from being printed:
* { display: none; } But note that is is only a deterrent. If someone wants to print your page, it can still be done. |
|||
|
Guru 'Power' Mechanic![]() |
Thanks for an excellent tip. I need printer-friendly pages -- pages that omit all the non-essential graphics and so save my visitors' ink supplies.
I've got a feeling this is built into SiteSpinner Pro -- just build your printer page on the secondary layout page, and SSPro takes care of all the CSS. |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

