Question
Hello!
Is there a way to put text into a frame (like in a sidebar of an article) so that it does not look like a table cell?
I did not find anything like this in the manual...
Thanks a lot
Environment
--
DanielOderbolz - 21 Apr 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
What I have done to address this is to define a SIDEBAR variable in
TWikiPreferences topic like this:
* Set STARTSIDEBAR = <div style="position:relative;float:right;width:30%;background-color:white;border:2px dotted %WEBBGCOLOR%;padding:1em;margin:0.5em;display:inline;">
* Set STOPSIDEBAR = </div>
Of course, you can style it to your liking by modifying the css. The reason for the white background is so that the background color given to h2 and h3 headings in
PatternSkin and
NatSkin don't cut across your sidebar.
I've inserted the SIDEBAR tag at the very beginning of this topic to demonstrate how it works.
--
LynnwoodBrown - 21 Apr 2008
Hey, this is cool!
BTW: How hard is it to create a tag like
%COMMENT{type="supportquery"}%
(one with a parameter I mean?)
--
DanielOderbolz - 22 Apr 2008
Custom variables don't support parameters. However you can do similar solution with
VarINCLUDE which do accept parameters.
--
LynnwoodBrown - 22 Apr 2008