Justify Text not working

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm just trying to justify some text in a cell. I using a Dynamic Web Template that tells the 'editable table' that all text in it should be justified. The html shows that the that the tag is set correctly.

Something interesting, when I went in to the html to try to edit the alignment manually the intellisense didn't offer 'justify' it only offer 'right', 'left', 'center'.

Any help would be appreciated.
 
Hi,
how are you doing this? I'm pretty sure there isn't a justify attribute in
HTML. There certainly is in HTML in CSS though.
<style type="text/css">
..myClass{
text-align:justify;
}
</style>

<td class="myClass">justified text</td>

Nothing that can go wrong here :-)

--
Cheers,
Jon
Microsoft MVP - FP

ShutupMeatwad said:
Hi,

I'm just trying to justify some text in a cell. I using a Dynamic Web
Template that tells the 'editable table' that all text in it should be
justified. The html shows that the that the tag is set correctly.
Something interesting, when I went in to the html to try to edit the
alignment manually the intellisense didn't offer 'justify' it only offer
'right', 'left', 'center'.
 
John,
Both 2002 and 2003 have a Justify button on the toolbar right next to "Align Right." I've used it.

;-)


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Apply it to the <p> tag, not the <td> tag, like this: <p align="justify">
 
Select the paragraph and then set the justify attribute, this will apply it to the <p> tag, and it
will appear as <p align="justify"> in your html / code view.

Currently you are applying it to the table cell.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


ShutupMeatwad said:
I've used the Justify button as well as hand coded but neither works. You check out the site at

www.cottagegrovefellowship.org
'editable table' that all text in it should be justified. The html shows that the that the tag is
set correctly.
 
yes there is an HTML attribute - add it to the <p> tag as in: <p align="justify">
is full justify (no jagged margins).
 
looks OK to me - the way "justify" works is if a word at the end of a line is to
long to fit on the line, it doesn't break it with a hyphen, it just wraps to the
next line. If you're talking about those paragraphs in the right hand column - I
think they're as "justified" as they can be made.

The paragraph that starts "Dear Fellow....." add in code view align="justify" in
the <p> tag - there is nothing there telling the paragraph to be justified - I
think you have to do it for all paragraphs, since when you close with the </p> it
goes back to default for the next opening <p> unless you add the justify
attribute in there.

ShutupMeatwad said:
I've used the Justify button as well as hand coded but neither works. You check out the site at

www.cottagegrovefellowship.org
Template that tells the 'editable table' that all text in it should be justified.
The html shows that the that the tag is set correctly.alignment manually the intellisense didn't offer 'justify' it only offer 'right',
'left', 'center'.
 
I disagree, justify is just that, it will produce extra space to ensure the text goes from left margin to right margin irregardless of breaks.
 
sorry, must be thinking of something else. - yes it spaces out the lines to make
even right and left margins.

wp said:
I disagree, justify is just that, it will produce extra space to ensure the
text goes from left margin to right margin irregardless of breaks.
 
Fortunately, most of us don't view web pages in FP. We use a browser. So,
the justify attribute will have to go in the <p> tag, not the <td> tag.

It doesn't always work out clicking a button and generating FPHTML.

Bob Lehmann

wp said:
When I open in FP it's justified.
Web Template that tells the 'editable table' that all text in it should be
justified. The html shows that the that the tag is set correctly.alignment manually the intellisense didn't offer 'justify' it only offer
'right', 'left', 'center'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top