Solved

How to JUSTIFY words in NC and IE?

Posted on 1998-12-10
5
115 Views
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!
0
Comment
Question by:Kennon
5 Comments
 
LVL 4

Expert Comment

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

should work. Does it?
0
 
LVL 4

Expert Comment

by:jack_p50
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)
0
 

Author Comment

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

Accepted Solution

by:
mgfranz earned 100 total points
ID: 1840433
Use tables,

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

Author Comment

by:Kennon
ID: 1840434
Your answer work sometimes.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now