Log In | Users | Register
Welcome, Registration, and other StartingPoints; Foswiki history & Wiki style; All the docs...
Edit | Attach | New | Raw | Diff | Print | Subscribe | Tools

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.

Test table:

Head1 Head2Sorted ascending
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 = %ATTACHURLPATH%/edittable.css
You can write this line in DefaultPreferences, in SitePreferences, in WebPreferences, in your user topic or on a single page.

Attach
css
version 1 uploaded by ProjectContributor on 10 Dec 2005 - 22:11
spacer
This site is managed by the Center for Climate Systems Modeling (C2SM).
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding C2SM Wiki? Send feedback