instead of width:0em; try display:none; Mike
(are you working from a vanilla TW or MPTW or another variant?) On Apr 17, 4:00 pm, Christopher <[email protected]> wrote: > Hi all, > > I'm attempting to transfer game books that I own to tiddlywiki files > for ease of search, small file size, and wiki-links. Unfortunately, > I've run into a snag. > > I've managed to do everything I set out to do so far, except for > getting the center section to go full-screen. > > I'm using the toggleLeftSidebar thing to show/hide the Table of > Contents, and I am hiding the right sidebar with the following code in > a systemConfig tiddler: > > if (readOnly) setStylesheetLayout("#sidebar {width:0em;}"); > > So when I load it in read-only mode (don't wanna mess up my hard work, > and I want to give it to my friends who also have the book), the right > sidebar is gone, and I can toggle the right sidebar. But the center > area still stops where the right sidebar usually is. > > How do I get the center area to take advantage of all the screen real > estate? I don't want to have a button to toggle, like for the left > sidebar, because if/when I give the file to my friends, they don't > need to see the right sidebar at all. > > Thanks for your assistance! > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/tiddlywiki?hl=en. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

