[xwiki-users] Hide unneeded stuff at print preview

2009-12-07 Thread etvc

I need to hide all stuff at the print preview form, exept page contents.
Logo, title, and all of them ... How I can do that? As I understand, I need
to edit print.css file in folder of my skin (colibri for example). At this
file exists section with comment /* Hide unneeded stuff */, but I cannot
underdstand what I should add for hidding all? I already hide all objects
below main page content, but for objects above - I cannot do that. What I
should to add in this section in print.css for my situation?
-- 
View this message in context: 
http://n2.nabble.com/Hide-unneeded-stuff-at-print-preview-tp4126306p4126306.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Hide unneeded stuff at print preview

2009-12-07 Thread Sergiu Dumitriu
On 12/07/2009 03:30 PM, etvc wrote:

 I need to hide all stuff at the print preview form, exept page contents.
 Logo, title, and all of them ... How I can do that? As I understand, I need
 to edit print.css file in folder of my skin (colibri for example). At this
 file exists section with comment /* Hide unneeded stuff */, but I cannot
 underdstand what I should add for hidding all? I already hide all objects
 below main page content, but for objects above - I cannot do that. What I
 should to add in this section in print.css for my situation?

#headerglobal, #hierarchy, #document-title, #document-info {
   display: none;
}

Hint: Firebug ( http://getfirebug.com/ ) is a very useful Firefox 
extension for web developers, that can give you very quick answers to 
such questions. There are similar tools for other browsers as well.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Hide unneeded stuff at print preview

2009-12-07 Thread etvc

Thanks a lot!
All is great, except of a small issue ...
I added line
#headerglobal, #hierarchy, #document-title, #document-info, #xdocFooter,
#docextrapanes,
in the corresponding section, and all header and footer objects was fully
hide, but also appeared second empty page, when I tried to print a result.
Second empty page appeared in any case even through my page content consist
of one text line, BUT only if I hide all header and footer objects ... It's
not a big problem, but maybe is it possible to correct this issue?


Sergiu Dumitriu-2 wrote:
 
 On 12/07/2009 03:30 PM, etvc wrote:

 I need to hide all stuff at the print preview form, exept page contents.
 Logo, title, and all of them ... How I can do that? As I understand, I
 need
 to edit print.css file in folder of my skin (colibri for example). At
 this
 file exists section with comment /* Hide unneeded stuff */, but I cannot
 underdstand what I should add for hidding all? I already hide all objects
 below main page content, but for objects above - I cannot do that. What I
 should to add in this section in print.css for my situation?
 
 #headerglobal, #hierarchy, #document-title, #document-info {
display: none;
 }
 
 Hint: Firebug ( http://getfirebug.com/ ) is a very useful Firefox 
 extension for web developers, that can give you very quick answers to 
 such questions. There are similar tools for other browsers as well.
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Hide-unneeded-stuff-at-print-preview-tp4126306p4130747.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users