Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Text justification

Hi there.  Is it possible to justify the text of an article?  The editor only seems to have left-align, right-align and center.

Malcolm
Tuesday, February 25, 2003

You can use css text-align: justify, but I am not sure it works in (m)any browsers.

joel Goldstick
Tuesday, February 25, 2003

Or if you go into the HTML I think it should be something like:

<p align=justify>

but I could be wrong.

www.marktaw.com
Tuesday, February 25, 2003

Yes, both the above are possible, but I wanted a way of applying a stlye to a paragraph without having to manually edit the html.

Malcolm
Wednesday, February 26, 2003

If you want all text to be right justified, add a CSS style sheet that has this style:

P { text-align: justify; }

Joel Spolsky
Wednesday, February 26, 2003

(to the template, I mean)

Joel Spolsky
Wednesday, February 26, 2003

Thanks for the tips.  It looks like the style sheet is the way to go...

Malcolm
Thursday, February 27, 2003

Oh.. yeah that would work too. But only if you wanted ALL of your paragraphs to be full justification. =)

www.marktaw.com
Thursday, February 27, 2003

*  Recent Topics

*  Fog Creek Home