head	1.1;
access;
symbols;
locks; strict;
comment	@# @;


1.1
date	2006.01.31.11.11.40;	author TWikiContributor;	state Exp;
branches;
next	;


desc
@new-topic
@


1.1
log
@buildrelease
@
text
@%META:TOPICINFO{author="ArthurClemens" date="1134249079" format="1.1" version="1"}%

---+!! 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 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.
	
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"}%
@
