Tags:
create new tag
, view all tags

Question

I would like to have TWiki use a fixed-width font (e.g., Courier) in the Edit sessions (the variable-width font makes it hard to count spaces, etc.). Is there a way to set this for my TWiki server and/or for a session or user?

  • TWiki version: r1.20
  • Perl version: 5.6.1
  • Web server & version: Apache 1.3.27
  • Server OS: FreeBSD 4.7
  • Web browser & version: Internet Explorer 5.2 for Mac
  • Client OS: Mac OS 10.2.6

-- RichMorin - 07 Jun 2003

Answer

Interesting, the browsers I use use fixed font for edit areas. You probably can set that in your browser preferences.

If you want to control it on the server side you can add a style sheet or font setting around the textarea tag in the edit.tmpl script. Or, in fact, there is already a style setting for the textarea tag: The EDITBOXSTYLE can be set on a per user level (right now it is just used to set the edit box width to the full window width).

-- PeterThoeny - 08 Jun 2003

Topic revision: r2 - 2003-06-08 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.