Hiding the sideBar

6 views
Skip to first unread message

PauloSoares

unread,
May 1, 2006, 6:34:58 PM5/1/06
to TiddlyWikiDev
I've tried Saq's ToggleSideBarMacro and found that, after using it, the
StyleSheetPrint does not reset the displayArea margins as I expected it
to do. The same thing happens with Barny's version and also with the
similar code that Eric has in his TiddyTools site. This is most
probably a CSS issue but I can't track it down. Does anyone have a clue
on this?

Saq Imtiaz

unread,
May 2, 2006, 8:27:07 AM5/2/06
to Tiddly...@googlegroups.com
Hey Paulo....

It almost definitely would be a css issue. I've personally never printed anything from TW so I can't really say. I'm guessing that when printing, the displayArea is too wide??

 Try putting this in your StyleSheetPrint:
#displayArea { margin-right: 16em !important;}
On the other hand if the displayArea is not wide enough, try this:
#displayArea { margin-right: 1em !important;}
Either way, please let me know how it goes!
Cheers,

Saq

PauloSoares

unread,
May 2, 2006, 8:56:37 AM5/2/06
to TiddlyWikiDev
Saq Imtiaz wrote:
> Hey Paulo....
>
> It almost definitely would be a css issue. I've personally never printed
> anything from TW so I can't really say. I'm guessing that when printing, the
> displayArea is too wide??
>
> Try putting this in your StyleSheetPrint:
>
> #displayArea { margin-right: 16em !important;}
>
> On the other hand if the displayArea is not wide enough, try this:
>
> #displayArea { margin-right: 1em !important;}
>
> Either way, please let me know how it goes!

Thanks, Saq, that did it. The margins were already well defined in the
StyleShetPrint but the '!important' keyword was missing. It looks like
I underestimated the importance of being '!important'. I better read
something about it. Thanks again.

BTW, you don't need to print anything to check this. Just do a print
preview in FF and you'll see the problem I mentioned.

Paulo Soares

Saq Imtiaz

unread,
May 2, 2006, 3:11:19 PM5/2/06
to Tiddly...@googlegroups.com
Glad it's working for you now.
I'll see if I can add that css to the StyleSheetPrint shadow tiddler when the plugin is installed.

Cheers,

Saq

On 5/2/06, PauloSoares <pso...@math.ist.utl.pt> wrote:
Reply all
Reply to author
Forward
0 new messages