wiki-archive/twiki/data/TWiki/PatternSkinCssCookbookEditT...

79 lines
2.4 KiB
Plaintext
Raw Normal View History

head 1.2;
access;
symbols;
locks; strict;
comment @# @;
1.2
date 2006.04.01.05.55.31; author TWikiContributor; state Exp;
branches;
next 1.1;
1.1
date 2006.02.01.12.01.22; author TWikiContributor; state Exp;
branches;
next ;
desc
@new-topic
@
1.2
log
@buildrelease
@
text
@%META:TOPICINFO{author="TWikiContributor" date="1134249079" format="1.1" version="2"}%
---+!! PatternSkinCssCookbook Recipe: [[TWiki:Plugins.EditTablePlugin][EditTable]] style
*Cookbook example to illustrate control over !EditTable edit styles.*
1 !EditTable uses a monospace font in edit mode to make the input text width correspond to the set width of the table columns. The attached example style makes the text more readable by changing the monospace font to a naturally spaced one.
2 !EditTable table cell content is vertically centered. The example style makes the content aligned at the top.
3 The example style gives the input fields a background color so that they stand out more.
Test table:
%EDITTABLE{format="|textarea, 8x40|text, 40|"}%
| *Head1* | *Head2* |
| *Hamlet:* So much for this, sir; now shall you see the other.<br />You do remember all the circumstance? | *Horatio:* Remember it, my lord! |
<div class="twikiHelp">
This line loads the extra style definition:
<verbatim>
* Set USERSTYLEURL = %ATTACHURL%/edittable.css
</verbatim>
You can write this line in %TWIKIWEB%.TWikiPreferences, in WebPreferences, in your user topic or on a single page.
</div>
%META:FILEATTACHMENT{name="edittable.css" attachment="edittable.css" attr="" comment="" date="1134249078" path="edittable.css" size="388" stream="edittable.css" user="Main.ArthurClemens" version="1"}%
@
1.1
log
@buildrelease
@
text
@d1 1
a1 1
%META:TOPICINFO{author="ArthurClemens" date="1134249079" format="1.1" version="1"}%
d7 4
a10 5
1 !EditTable uses a monospace font in edit mode to make the input text width correspond to the set width of the table columns. The attached example style makes the text more readable by changing the monospace font to a naturally spaced one.
2 !EditTable table cell content is vertically centered. The example style makes the content aligned at the top.
3 The buttons at the bottom (in edit mode) are visually the same as other buttons on TWiki pages. The example style makes them more distinctive.
4 The example style gives the input fields a background color so that they stand out more.
d21 1
a21 1
* Set USERSTYLEURL = %ATTACHURL%/edittable.css
@