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
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

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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
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 embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

615 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