W3C home > Mailing lists > Public > www-style@w3.org > March 2007

Re: controlling tab size

From: Harry Maugans <hmaugans@gmail.com>
Date: Mon, 26 Mar 2007 15:18:28 -0400
Message-ID: <e74da3890703261218v3fb6792dw3caab99a9159dc66@mail.gmail.com>
To: Yahia <cyahia@gmail.com>
Cc: www-style@w3.org

You can render tabs in the output of the webpage itself (control character
U+0009) ... he's not talking about in the whitespace.  If your still
curious, a few Google searches should provide tutorials and examples.

James - Have you considered the "text-indent" property?  Or depending on
what you're doing, "word-spacing" might be might be appropriate as well.

I don't see much advantage in adding a "tab-size" property when it's so
seldom used, and there are a wide-range of alternatives that would produce a
near identical outcome.

Perhaps expanding a bit on your requirements would help?


- Harry Maugans

On 3/26/07, Yahia <cyahia@gmail.com> wrote:
> James Justin Harrell <herorev@yahoo.com> wrote:
> > I personally prefer tabs over spaces for indenting
> > source code because it is more semantic and easier to change
> > how wide the indentions are.
> If any tab in the source HTML is rendered as a whitespace, in the same
> fashion that any amout of whitespace is rendered as a single one, then why
> would you want to control it with CSS?
> You're saying you use tabs in the source for indenting. What does that
> have to do with CSS?
> --
> Yahia
> <http://yahia.ma/antiblog/>

- Harry Maugans
Received on Monday, 26 March 2007 19:18:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:28 UTC