Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Justifying text

Status
Not open for further replies.

stc

Technical User
Aug 23, 2001
25
GB
Is it possible to justify text in DW4? Whenever I try this, it looks justified in DW4, but is not justified on the web.
 
try putting it in a layer or table and applying the justification to that Live long and make your kids suffer..
 
Hello stc!

You need to use CSS. You don't need layer or table for that. Here is an example: text-align: justify

TIP:
if you apply CSS (text aligment) to the whole table or cell (<td>) the text inside the cell will be normally justified only in NN but not in IE. To justify text inside the table for IE you have to use <span> tags inside the cell.
Example:
<td><span style=&quot;text-align: justify&quot;>here goes some text ... </span></td>

To make text justified both in IE and NN apply CSS both to cell/table and span.
Example:
<td style=&quot;text-align: justify&quot;><span style=&quot;text-align: justify&quot;>here goes some text ... </span></td>


Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top