Submit Your Article Forum Rules

Results 1 to 6 of 6

Thread: text justify in Dreamweaver

  1. #1
    Senior Member pne's Avatar
    Join Date
    May 2004
    Posts
    287

    text justify in Dreamweaver

    I'm using Dreamweaver 3 and having problems with text justification. It will justify left, right and centre but not justify exactly to fit. Any ideas apart from manually adjusting each.

    Many thanks,

    pne
    <a href="http://www.sochoose.com/" target="_blank">Employee Assistance Programme
    <a href="http://www.sochoose.com/employee_wellness_programme.php"/target="_blank">Employee Wellness Programme

  2. #2
    Senior Member
    Join Date
    Apr 2004
    Posts
    446
    Code:
    p.j{ text-align:justify; }
    ...
    ...
    <p class="j">I want to be justified.</p>

  3. #3
    Senior Member
    Join Date
    Apr 2004
    Posts
    147
    Just to add, there are compatibility issues with justify, but the code above is fine with those that it works with.

    Regards,

  4. #4
    Senior Member paulhiles's Avatar
    Join Date
    Jul 2003
    Posts
    2,073
    I'll also add my two pence worth... justifying narrow columns of text can result in rather odd looking lines appearing with say three words s p r e a d out along one line, and the following line having five or six normally spaced. IMO this looks ugly, and would have most layout or graphic designers wincing and screwing up their noses! :o)

    Take a look at the following thread, posted recently by kingsman.
    What constitutes good text layout?

  5. #5
    Senior Member pne's Avatar
    Join Date
    May 2004
    Posts
    287
    Paul,

    Understand the potential problem clearly. Difficulty is that Dreamweaver 3 doesn't give the option to justify and was looking for clear, clean and simple solution which doesn't involve manually changing code. Any ideas?

    pne
    <a href="http://www.sochoose.com/" target="_blank">Employee Assistance Programme
    <a href="http://www.sochoose.com/employee_wellness_programme.php"/target="_blank">Employee Wellness Programme

  6. #6
    Senior Member paulhiles's Avatar
    Join Date
    Jul 2003
    Posts
    2,073
    How about creating a class in your stylesheet that would justify the text?

    .justified {text-align: justify;}

    You could then apply it to paragraphs / blocks of text wherever you see fit (as below)

    <p class="justified">justified text in here</p>

    PS. Just noticed this is almost the same solution as HardCoded!

Similar Threads

  1. is google ok with sites that has text link color same as regular text
    By deafsinger in forum Google Discussion Forum
    Replies: 9
    Last Post: 10-10-2008, 04:14 AM
  2. Text in presentaions looks diferent to text in documents.
    By cronic in forum Flash Discussion Forum
    Replies: 1
    Last Post: 03-10-2005, 10:40 AM
  3. how to change text size in Dreamweaver MX
    By ToHelenaHandbasket in forum Graphics & Design Discussion Forum
    Replies: 1
    Last Post: 08-14-2004, 12:15 AM
  4. Replies: 26
    Last Post: 07-09-2004, 10:44 PM
  5. Load Text? Dreamweaver MX 2004
    By ArnoldoT in forum Graphics & Design Discussion Forum
    Replies: 1
    Last Post: 06-28-2004, 01:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •