How to JUSTIFY words in NC and IE?

Posted on 1998-12-10
Last Modified: 2010-04-09
Would anyone tell me how to align the words as "JUSTIFY" in html which can work in both Netscape 4.0 and Internet Explorer 4 or more updated version?
Please tell me with a simple example, thank you!
Question by:Kennon

Expert Comment

ID: 1840430
<div align=justify>blah blah blah</div>

should work. Does it?

Expert Comment

ID: 1840431
in HTML you cannot align words to some coordinates, but you can do it so:
create 1x1 transparent GIF and use it for spacers
(<img src="trans.gif" width=40% height=100% align=top>This is aligned to vert. line going at 40% X-coordinate)

Author Comment

ID: 1840432
Thank you Jack_p50.
But my question is to 'justify' words on a line, not putting characters in a specific point.
LVL 18

Accepted Solution

mgfranz earned 100 total points
ID: 1840433
Use tables,

<tr align=left>Insert text here</tr>
<tr align=center>Insert another text here</tr>
<tr align=right>Insert more text here</tr>

Author Comment

ID: 1840434
Your answer work sometimes.

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Why is this panel heading creating extra space 2 50
Form Submit falis 6 33
Border and image sizing 5 19
how can I add blockquote after on my wordpress site 3 10
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question