Forum Moderators: not2easy
This is the complete line of code in the file that controls the font.
.font {font-family:verdana, arial, sans-serif; text-align: justify; font-size:10pt; color:#000000; }
Justify just isn't doing what it should be doing - I have tried viewing the page in several different browsers. Where am I going wrong?
Many Thanks
TP
I usually create two style one for the text and one to justify it.
I apply the txt style on the <TD> tag (in case you built your pages in tabe) and the justify text on the <P> tags.
If you are using Dreamweaver for example when you select all the text in a cell and apply a style it apply it to the <TD> and not the text itself. Try applying the style on the <P> tags.
Hope this help.
LEo
p.justifiedText { text-align: justify }
Then in you html: <p class="justifiedText">
I'm not sure how well supported this is at the moment, but I'll go an do a quick test for you....
<added>
I am very pleasantly surprised, IE6, Moz1.0, Opera6, and NN4.7 all justify as requested!
</added>
I have already applied the font style to all the pages and was trying to avoid having to go through my 100 or so pages to apply the <p class="justifiedText"> to my html. I have used a template in dreamweaver but I can see no way of adding the style to the template. It looks as though I would have to go through each page.