W3C home > Mailing lists > Public > www-style@w3.org > May 2003

CSS3-Text: text-indent, once more

From: fantasai <fantasai@escape.com>
Date: Sat, 03 May 2003 03:23:49 -0400
Message-ID: <3EB36E85.6010505@escape.com>
To: michelsu@windows.microsoft.com
CC: www-style@w3.org

http://www.w3.org/TR/2003/WD-css3-text-20030226/#indentation-prop

  # The box is indented with respect to the starting edge of the line box.
  # User agents should render this indentation as blank space. When the
  # 'text-align' property is not set to align the text at the starting
  # edge, this property only specifies a minimum indentation. When the
  # 'text-align' property is set to 'center', the content of the first
  # line is centered within the line box inline progression minus the
  # indentation.

This is vague. text-indent is a familiar property, so it wouldn't make
much of a difference--except you already have a better-written alternate
available to you. I suggest you use the wording Ian and I came up with.
The entire paragraph above can be replaced with:

   The indent is treated as a margin applied to the start edge of the
   line box.

It handles all cases, including "text-align: center" and interaction
with floats.

~fantasai
Received on Saturday, 3 May 2003 03:23:03 GMT

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