> So there is whitespace between 'normal text' and a list.
> The same holds for ordered lists.
> But in case you call this tiddler in a tab macro, the whitespace is
> gone!
> And although I like the result in the tab macro, I do not understand
> what happens.
> (I know I can change .viewer ul, .viewer ol in the StyleSheet).
>
> Can somebody explain why this happens?
The [[StyleSheetLayout]] shadow tiddler contains both of the
following:
.tabContents ul, .tabContents ol { margin:0; padding:0; }
.viewer ul, .viewer ol { margin-left:0.5em; padding-left:1.5em; }
By default, UL and OL elements have a top/bottom margin. But, in the
above CSS, when those elements are within a .tabContents DIV, they
won't.
To adjust these margin to fit your preferences, you could add this
line to the [[StyleSheet]]:
.viewer ul, .viewer ol { margin-top:0; margin-bottom:0; }
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---