r2 - 10 Dec 2005 - 21:11:19 GMT - TWikiContributorYou are here: Bernstein > TWiki Web > PatternSkinCssCookbookEditTableStyle

PatternSkinCssCookbook Recipe: 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:

Head1 Head2
Hamlet: So much for this, sir; now shall you see the other.
You do remember all the circumstance?
Horatio: Remember it, my lord!

This line loads the extra style definition:
   * Set USERSTYLEURL = %ATTACHURL%/edittable.css
You can write this line in TWikiPreferences, in WebPreferences, in your user topic or on a single page.

toggleopenShow attachmentstogglecloseHide attachments
Topic attachments
I Attachment Action Size Date Who Comment
elsecss edittable.css manage 0.4 K 10 Dec 2005 - 21:11 ArthurClemens?  
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r2 < r1 | More topic actions
 
The Bernstein Website
Copyright © by the contributing authors.
Bernstein - The Memory of Paper http://www.bernstein.oeaw.ac.at
Ideas, requests, problems regarding Bernstein? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.PatternSkinCssCookbookEditTableStyle
This site is powered by the TWiki collaboration platform