W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 1998

Re: Can you Double Space with HTML?

From: Ian Jacobs <ij@w3.org>
Date: Tue, 22 Sep 1998 10:49:55 -0400
Message-ID: <3607B913.D63BCE4C@w3.org>
To: Gerald Rogers <Gerald.L.Rogers@state.me.us>
CC: www-html-editor@w3.org
Gerald Rogers wrote:
> 
> Hello,
> 
> I've been creating web pages now for more than 2 years.  Almost
> everytime I turn around, just like with computer technology, something
> new is coming out on HTML.  I try to implement as much of the new tags
> as possible in my documents.  I know the latest version included some
> tags for full justification.  Great, now we can control left, right,
> center, and full justification, just like with MS Word.

Hi Gerald,

This is not really true. The HTML Working Group elected not
to add additional presentation features to HTML 4.0 (when possible).

 
> Now I was wondering, can you control line spacing as well?  You know,
> make a paragraph double, or triple spaced by adding a few tags?  I know
> if I added <br> tags, that would work, but slow me down tremendously.

You should use Style Sheets to control spacing effects. See
the CSS1 [1] and CSS2 [2] Recommendations.

[1] http://www.w3.org/TR/REC-CSS1
[2] http://www.w3.org/TR/REC-CSS2

In particular, see the section on text spacing [3].

[3] http://www.w3.org/TR/REC-CSS2/text.html

Hope this helps,

 - Ian

-- 
Ian Jacobs (jacobs@w3.org) 
Tel/Fax: (212) 684-1814 
http://www.w3.org/People/Jacobs
Received on Tuesday, 22 September 1998 10:54:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:43 GMT