Question
I sometimes need to pack some text together in a clearly visible area, e.g. an example or so. I could use manual divs like that:
bla bla bla bla... Here is an example:
<div style="padding: 10px; background-color: green">
bla bla bla bla
</div>
bla bla bla bla
But this is not very nice. So is there a way of creating such areas in an easier way?
Thanks,
Josh
Environment
--
JoshuaMuheim - 05 Jan 2007
Answer
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
Personally, I find a bit of html/css for that kind of occasional use quite satisfactory. However, if need to use that alot, you could define your own variable (in
WebPreferences or
Main.TWikiPreferences), such as:
* Set GREENBLOCK = <div style="padding: 10px; background-color: green">
* Set ENDBLOCK = </div>
--
LynnwoodBrown - 05 Jan 2007