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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Accordion won't close correctly 5 17
SVG and IE11 2 36
Html date format 9 30
How to pass values to HTML-5 attribute dynamically? 24 69
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

751 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