W3C home > Mailing lists > Public > www-html@w3.org > January 1999

Re: <div align=justify> ?

From: Frank Boumphrey <bckman@ix.netcom.com>
Date: Tue, 5 Jan 1999 14:21:47 -0500
Message-ID: <002f01be38e0$bf1c8660$19acdccf@ix.netcom.com>
To: "David Birdsall" <D.Birdsall@herts.ac.uk>, "html (w3)mailing list" <www-html@w3.org>
>Does the <div> tag allow you to format text, so that it is justified
>across the page, instead of the usual left, right and centre alignments?

yes if you use the style attribute.

<DIV STYLE="text-align:justify"></DIV>

Only works on the 4 series browsers. However be very careful about using
this unless you know the absolute width of the page you are writing to.

Frank Boumphrey

XML and style sheet info at Http://www.hypermedic.com/style/index.htm
Author: - Professional Style Sheets for HTML and XML http://www.wrox.com
CoAuthor:  XML applications from Wrox Press, www.wrox.com
Author: Using XML on the Web (March)
----- Original Message -----
From: David Birdsall <D.Birdsall@herts.ac.uk>
To: <www-html@w3.org>
Sent: Wednesday, December 16, 1998 5:52 PM
Subject: <div align=justify> ?
Received on Tuesday, 5 January 1999 14:22:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:49 UTC