Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

839 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