W3C home > Mailing lists > Public > www-style@w3.org > September 1999

Horizonal Tabs in "white-space: pre" Elements

From: 吉藤英明 <yoshfuji@ecei.tohoku.ac.jp>
Date: Sat, 18 Sep 1999 12:28:54 +0900
To: www-style@w3.org
Message-Id: <19990918122854M.yoshfuji@cerberus.nemoto.ecei.tohoku.ac.jp>
Hello.

Behavior of horizonal tabs in "white-space: pre" elements seems to be 
different between browsers.

Example ('|' as horisonal tab character):
<PRE>
sample..|horizonal tabbed string
</PRE>

Some browser displays this like this:
sample..        horizonal tabbed string

Another will display like this:
sample..    horizonal tabbed string


Is there any way (or definition) to control the behavior of horizonal tab 
characters in "white-space: pre" elements?


If not, I wish for some new property (or properties) like:

pre-horizonal-tab: 4;  /* horizonal tab stops 
                          every 4 characters (narrow-cell glyph) */

pre-horizonal-tab: 4,12,40; /* tab stop at 4, 12, 40, and after this,
                               every 28=40-12 (40+28=68, 68+28=96, ...) */

pre-horizonal-tab: 4,12,40,0; /* tab stop at 4, 12 and 40. if horizonal tabs
                                 appear after the last non-zero tab-location,
                                 they will treated as a single space ' '. */

-- 
YOSHIFUJI,Hideaki    <yoshfuji@ecei.tohoku.ac.jp>
Web Page: http://www.ecei.tohoku.ac.jp/%7Eyoshfuji/
PGP5i FP: F731 6599 5EB2 BBA7 1515  1323 1806 A96F 5700 6B25 
Received on Friday, 17 September 1999 23:29:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:00 GMT