Align JUSTIFIED, firstLineIdent, lineSpacing solution

Align Justified, First line ident, line spacing features don't work correct.
So i can suggest solution for these things.
I implemented my ParagraphView class for this purpose.
Hope it helps for somebody.
best regards
Stas
This is the source code of example.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.text.*;
import java.util.*;
* Represents extension for Paragraph view.
* @author     Stanislav Lapitsky
class Main {
JEditorPane pane;
int ALIGNMENT=StyleConstants.ALIGN_JUSTIFIED;
float LINE_SPACING=2;
float FIRST_LINE_IDENT=50;
public Main() {
JFrame mainFrame=new JFrame("Advanced paragraph features support...");
mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
pane=new JEditorPane();
pane.setEditorKit(new StyledEditorKit_());
JScrollPane sp=new JScrollPane(pane);
mainFrame.getContentPane().setLayout(new BorderLayout());
mainFrame.getContentPane().add(sp,BorderLayout.CENTER);
StyledDocument doc=(StyledDocument)pane.getDocument();
try {
doc.insertString(0,"Advanced paragraph view implements following features: First line ident support, line spacing support, alignment justified support. Implemented by Stanislav Lapitsky. ",null);
catch (Exception ex) {
MutableAttributeSet attr=new SimpleAttributeSet();
StyleConstants.setFirstLineIndent(attr,FIRST_LINE_IDENT);
StyleConstants.setLineSpacing(attr,LINE_SPACING);
StyleConstants.setAlignment(attr,ALIGNMENT);
doc.setParagraphAttributes(0,doc.getLength()-1,attr,false);
mainFrame.setBounds(100,100,330,200);
mainFrame.show();
public static void main(String[] args) {
new Main();
class StyledEditorKit_ extends StyledEditorKit {
public ViewFactory getViewFactory() {
return new StyledViewFactory_();
class StyledViewFactory_ implements ViewFactory {
public View create(Element elem) {
String kind = elem.getName();
if (kind != null) {
if (kind.equals(AbstractDocument.ContentElementName)) {
return new LabelView(elem);
} else if (kind.equals(AbstractDocument.ParagraphElementName)) {
// return new ParagraphView(elem);
return new AdvancedParagraphView(elem);
} else if (kind.equals(AbstractDocument.SectionElementName)) {
return new BoxView(elem, View.Y_AXIS);
} else if (kind.equals(StyleConstants.ComponentElementName)) {
return new ComponentView(elem);
} else if (kind.equals(StyleConstants.IconElementName)) {
return new IconView(elem);
// default to text display
return new LabelView(elem);
* Represents extension for Paragraph view.
* @author     Stanislav Lapitsky
class AdvancedParagraphView extends ParagraphView {
public AdvancedParagraphView(Element elem) {
super(elem);
strategy=new AdvancedFlowStrategy();
protected View createRow() {
Element elem = getElement();
return new AdvancedRow(elem);
protected static int getSpaceCount(String content) {
int result=0;
int index=content.indexOf(' ');
while (index>=0) {
result++;
index=content.indexOf(' ',index+1);
return result;
protected static int[] getSpaceIndexes(String content,int shift) {
int cnt=getSpaceCount(content);
int[] result=new int[cnt];
int counter=0;
int index=content.indexOf(' ');
while (index>=0) {
result[counter]=index+shift;
counter++;
index=content.indexOf(' ',index+1);
return result;
public static class AdvancedFlowStrategy extends FlowStrategy {
public void layout(FlowView fv) {
super.layout(fv);
AttributeSet attr=fv.getElement().getAttributes();
float lineSpacing=StyleConstants.getLineSpacing(attr);
boolean justifiedAlignment=(StyleConstants.getAlignment(attr)==StyleConstants.ALIGN_JUSTIFIED);
if (!(justifiedAlignment || (lineSpacing > 1)) ){
return;
int cnt=fv.getViewCount();
for (int i=0; i<cnt-1; i++) {
AdvancedRow row=(AdvancedRow)fv.getView(i);
if(lineSpacing > 1) {
float height = row.getMinimumSpan(View.Y_AXIS);
float addition = (height * lineSpacing) - height;
if(addition > 0) {
row.setInsets(row.getTopInset(), row.getLeftInset(),
(short) addition, row.getRightInset());
if (justifiedAlignment) {
restructureRow(row,i);
row.setRowNumber(i+1);
protected void restructureRow(View row,int rowNum) {
int rowStartOffset=row.getStartOffset();
int rowEndOffset=row.getEndOffset();
String rowContent="";
try {
rowContent=row.getDocument().getText(rowStartOffset,rowEndOffset-rowStartOffset);
if (rowNum==0) {
int index=0;
while (rowContent.charAt(0)==' ') {
rowContent=rowContent.substring(1);
if (rowContent.length()==0)
break;
catch (Exception e) {
e.printStackTrace();
int rowSpaceCount=getSpaceCount(rowContent);
if (rowSpaceCount<1)
return;
int[] rowSpaceIndexes=getSpaceIndexes(rowContent,row.getStartOffset());
int currentSpaceIndex=0;
for (int i=0; i<row.getViewCount(); i++) {
View child=row.getView(i);
if ((child.getStartOffset()<rowSpaceIndexes[currentSpaceIndex]) &&
(child.getEndOffset()>rowSpaceIndexes[currentSpaceIndex])) {
//split view
View first=child.createFragment(child.getStartOffset(),rowSpaceIndexes[currentSpaceIndex]);
View second=child.createFragment(rowSpaceIndexes[currentSpaceIndex],child.getEndOffset());
View[] repl=new View[2];
repl[0]=first;
repl[1]=second;
row.replace(i,1,repl);
currentSpaceIndex++;
if (currentSpaceIndex>=rowSpaceIndexes.length)
break;
int childCnt=row.getViewCount();
class AdvancedRow extends BoxView {
private int rowNumber=0;
AdvancedRow(Element elem) {
super(elem, View.X_AXIS);
protected void loadChildren(ViewFactory f) {
public AttributeSet getAttributes() {
View p = getParent();
return (p != null) ? p.getAttributes() : null;
public float getAlignment(int axis) {
if (axis == View.X_AXIS) {
AttributeSet attr=getAttributes();
int justification=StyleConstants.getAlignment(attr);
switch (justification) {
case StyleConstants.ALIGN_LEFT:
case StyleConstants.ALIGN_JUSTIFIED:
return 0;
case StyleConstants.ALIGN_RIGHT:
return 1;
case StyleConstants.ALIGN_CENTER:
return 0.5f;
return super.getAlignment(axis);
public Shape modelToView(int pos, Shape a, Position.Bias b) throws BadLocationException {
Rectangle r = a.getBounds();
View v = getViewAtPosition(pos, r);
if ((v != null) && (!v.getElement().isLeaf())) {
// Don't adjust the height if the view represents a branch.
return super.modelToView(pos, a, b);
r = a.getBounds();
int height = r.height;
int y = r.y;
Shape loc = super.modelToView(pos, a, b);
r = loc.getBounds();
r.height = height;
r.y = y;
return r;
public int getStartOffset() {
int offs = Integer.MAX_VALUE;
int n = getViewCount();
for (int i = 0; i < n; i++) {
View v = getView(i);
offs = Math.min(offs, v.getStartOffset());
return offs;
public int getEndOffset() {
int offs = 0;
int n = getViewCount();
for (int i = 0; i < n; i++) {
View v = getView(i);
offs = Math.max(offs, v.getEndOffset());
return offs;
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
baselineLayout(targetSpan, axis, offsets, spans);
protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) {
return baselineRequirements(axis, r);
protected int getViewIndexAtPosition(int pos) {
// This is expensive, but are views are not necessarily layed
// out in model order.
if(pos < getStartOffset() || pos >= getEndOffset())
return -1;
for(int counter = getViewCount() - 1; counter >= 0; counter--) {
View v = getView(counter);
if(pos >= v.getStartOffset() &&
pos < v.getEndOffset()) {
return counter;
return -1;
public short getTopInset() {
return super.getTopInset();
public short getLeftInset() {
return super.getLeftInset();
public short getRightInset() {
return super.getRightInset();
public void setInsets(short topInset,short leftInset, short bottomInset, short rightInset) {
super.setInsets(topInset,leftInset,bottomInset,rightInset);
protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
super.layoutMajorAxis(targetSpan,axis,offsets,spans);
AttributeSet attr=getAttributes();
if ((StyleConstants.getAlignment(attr)!=StyleConstants.ALIGN_JUSTIFIED) && (axis!=View.X_AXIS)){
return;
int cnt=offsets.length;
int span=0;
for (int i=0; i<cnt; i++) {
span+=spans;
if (getRowNumber()==0)
return;
int startOffset=getStartOffset();
int len=getEndOffset()-startOffset;
String context="";
try {
context=getElement().getDocument().getText(startOffset,len);
catch (Exception e) {
e.printStackTrace();
int spaceCount=getSpaceCount(context)-1;
int pixelsToAdd=targetSpan-span;
if (this.getRowNumber()==1) {
int firstLineIndent=(int)StyleConstants.getFirstLineIndent(getAttributes());
pixelsToAdd-=firstLineIndent;
int[] spaces=getSpaces(pixelsToAdd,spaceCount);
int j=0;
int shift=0;
for (int i=1; i<cnt; i++) {
LabelView v=(LabelView)getView(i);
offsets[i]+=shift;
if ((isContainSpace(v)) && (i!=cnt-1)) {
offsets[i]+=spaces[j];
spans[i-1]+=spaces[j];
shift+=spaces[j];
j++;
protected int[] getSpaces(int space,int cnt) {
int[] result=new int[cnt];
if (cnt==0)
return result;
int base=space/cnt;
int rst=space % cnt;
for (int i=0; i<cnt; i++) {
result[i]=base;
if (rst>0) {
result[i]++;
rst--;
return result;
public float getMinimumSpan(int axis) {
if (axis==View.X_AXIS) {
AttributeSet attr=getAttributes();
if (StyleConstants.getAlignment(attr)!=StyleConstants.ALIGN_JUSTIFIED) {
return super.getMinimumSpan(axis);
else {
return this.getParent().getMinimumSpan(axis);
else {
return super.getMinimumSpan(axis);
public float getMaximumSpan(int axis) {
if (axis==View.X_AXIS) {
AttributeSet attr=getAttributes();
if (StyleConstants.getAlignment(attr)!=StyleConstants.ALIGN_JUSTIFIED) {
return super.getMaximumSpan(axis);
else {
return this.getParent().getMaximumSpan(axis);
else {
return super.getMaximumSpan(axis);
public float getPreferredSpan(int axis) {
if (axis==View.X_AXIS) {
AttributeSet attr=getAttributes();
if (StyleConstants.getAlignment(attr)!=StyleConstants.ALIGN_JUSTIFIED) {
return super.getPreferredSpan(axis);
else {
return this.getParent().getPreferredSpan(axis);
else {
return super.getPreferredSpan(axis);
public void setRowNumber(int value) {
rowNumber=value;
public int getRowNumber() {
return rowNumber;
public int getFlowSpan(int index) {
int span=super.getFlowSpan(index);
if (index==0) {
int firstLineIdent=(int)StyleConstants.getFirstLineIndent(this.getAttributes());
span-=firstLineIdent;
return span;
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets, int[] spans) {
super.layoutMinorAxis(targetSpan, axis, offsets, spans);
int firstLineIdent=(int)StyleConstants.getFirstLineIndent(this.getAttributes());
offsets[0]+=firstLineIdent;
protected static boolean isContainSpace(View v) {
int startOffset=v.getStartOffset();
int len=v.getEndOffset()-startOffset;
try {
String text=v.getDocument().getText(startOffset,len);
if (text.indexOf(' ')>=0)
return true;
else
return false;
catch (Exception ex) {
return false;

I've managed to interpret what was in the POST and so just to help out here's how to get it all working:
In a file called AdvancedParagraphView.java
package .....<your package>.....
import javax.swing.text.*;
import java.awt.*;
import javax.swing.*;
public class AdvancedParagraphView extends ParagraphView {
  public AdvancedParagraphView(Element elem) {
    super(elem);
    strategy = new AdvancedFlowStrategy();
  protected View createRow() {
    Element elem = getElement();
    return new AdvancedRow(elem);
  protected static int getSpaceCount(String content) {
    int result = 0;
    int index = content.indexOf(' ');
    while (index >= 0) {
      result++;
      index = content.indexOf(' ', index + 1);
    return result;
  protected static int[] getSpaceIndexes(String content, int shift) {
    int cnt = getSpaceCount(content);
    int[] result = new int[cnt];
    int counter = 0;
    int index = content.indexOf(' ');
    while (index >= 0) {
      result[counter] = index + shift;
      counter++;
      index = content.indexOf(' ', index + 1);
    return result;
  static class AdvancedFlowStrategy
      extends FlowStrategy {
    public void layout(FlowView fv) {
      super.layout(fv);
      AttributeSet attr = fv.getElement().getAttributes();
      float lineSpacing = StyleConstants.getLineSpacing(attr);
      boolean justifiedAlignment = (StyleConstants.getAlignment(attr) ==
                                    StyleConstants.ALIGN_JUSTIFIED);
      if (! (justifiedAlignment || (lineSpacing > 1))) {
        return;
      int cnt = fv.getViewCount();
      for (int i = 0; i < cnt - 1; i++) {
        AdvancedRow row = (AdvancedRow) fv.getView(i);
        if (lineSpacing > 1) {
          float height = row.getMinimumSpan(View.Y_AXIS);
          float addition = (height * lineSpacing) - height;
          if (addition > 0) {
            row.setInsets(row.getTopInset(), row.getLeftInset(),
                          (short) addition, row.getRightInset());
        if (justifiedAlignment) {
          restructureRow(row, i);
          row.setRowNumber(i + 1);
    protected void restructureRow(View row, int rowNum) {
      int rowStartOffset = row.getStartOffset();
      int rowEndOffset = row.getEndOffset();
      String rowContent = "";
      try {
        rowContent = row.getDocument().getText(rowStartOffset,
                                               rowEndOffset - rowStartOffset);
        if (rowNum == 0) {
          int index = 0;
          while (rowContent.charAt(0) == ' ') {
            rowContent = rowContent.substring(1);
            if (rowContent.length() == 0)
              break;
      catch (Exception e) {
        e.printStackTrace();
      int rowSpaceCount = getSpaceCount(rowContent);
      if (rowSpaceCount < 1)
        return;
      int[] rowSpaceIndexes = getSpaceIndexes(rowContent, row.getStartOffset());
      int currentSpaceIndex = 0;
      for (int i = 0; i < row.getViewCount(); i++) {
        View child = row.getView(i);
        if ( (child.getStartOffset() < rowSpaceIndexes[currentSpaceIndex]) &&
            (child.getEndOffset() > rowSpaceIndexes[currentSpaceIndex])) {
//split view
          View first = child.createFragment(child.getStartOffset(),
                                            rowSpaceIndexes[currentSpaceIndex]);
          View second = child.createFragment(rowSpaceIndexes[currentSpaceIndex],
                                             child.getEndOffset());
          View[] repl = new View[2];
          repl[0] = first;
          repl[1] = second;
          row.replace(i, 1, repl);
          currentSpaceIndex++;
          if (currentSpaceIndex >= rowSpaceIndexes.length)
            break;
      int childCnt = row.getViewCount();
  class AdvancedRow
      extends BoxView {
    private int rowNumber = 0;
    AdvancedRow(Element elem) {
      super(elem, View.X_AXIS);
    protected void loadChildren(ViewFactory f) {
    public AttributeSet getAttributes() {
      View p = getParent();
      return (p != null) ? p.getAttributes() : null;
    public float getAlignment(int axis) {
      if (axis == View.X_AXIS) {
        AttributeSet attr = getAttributes();
        int justification = StyleConstants.getAlignment(attr);
        switch (justification) {
          case StyleConstants.ALIGN_LEFT:
          case StyleConstants.ALIGN_JUSTIFIED:
            return 0;
          case StyleConstants.ALIGN_RIGHT:
            return 1;
          case StyleConstants.ALIGN_CENTER:
            return 0.5f;
      return super.getAlignment(axis);
    public Shape modelToView(int pos, Shape a, Position.Bias b) throws
        BadLocationException {
      Rectangle r = a.getBounds();
      View v = getViewAtPosition(pos, r);
      if ( (v != null) && (!v.getElement().isLeaf())) {
// Don't adjust the height if the view represents a branch.
        return super.modelToView(pos, a, b);
      r = a.getBounds();
      int height = r.height;
      int y = r.y;
      Shape loc = super.modelToView(pos, a, b);
      r = loc.getBounds();
      r.height = height;
      r.y = y;
      return r;
    public int getStartOffset() {
      int offs = Integer.MAX_VALUE;
      int n = getViewCount();
      for (int i = 0; i < n; i++) {
        View v = getView(i);
        offs = Math.min(offs, v.getStartOffset());
      return offs;
    public int getEndOffset() {
      int offs = 0;
      int n = getViewCount();
      for (int i = 0; i < n; i++) {
        View v = getView(i);
        offs = Math.max(offs, v.getEndOffset());
      return offs;
    protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets,
                                   int[] spans) {
      baselineLayout(targetSpan, axis, offsets, spans);
    protected SizeRequirements calculateMinorAxisRequirements(int axis,
        SizeRequirements r) {
      return baselineRequirements(axis, r);
    protected int getViewIndexAtPosition(int pos) {
// This is expensive, but are views are not necessarily layed
// out in model order.
      if (pos < getStartOffset() || pos >= getEndOffset())
        return -1;
      for (int counter = getViewCount() - 1; counter >= 0; counter--) {
        View v = getView(counter);
        if (pos >= v.getStartOffset() &&
            pos < v.getEndOffset()) {
          return counter;
      return -1;
    public short getTopInset() {
      return super.getTopInset();
    public short getLeftInset() {
      return super.getLeftInset();
    public short getRightInset() {
      return super.getRightInset();
    public void setInsets(short topInset, short leftInset, short bottomInset,
                          short rightInset) {
      super.setInsets(topInset, leftInset, bottomInset, rightInset);
    protected void layoutMajorAxis(int targetSpan, int axis, int[] offsets,
                                   int[] spans) {
      super.layoutMajorAxis(targetSpan, axis, offsets, spans);
      AttributeSet attr = getAttributes();
      if ( (StyleConstants.getAlignment(attr) != StyleConstants.ALIGN_JUSTIFIED) &&
          (axis != View.X_AXIS)) {
        return;
      int cnt = offsets.length;
      int span = 0;
      for (int i = 0; i < cnt; i++) {
        span += spans;
if (getRowNumber() == 0)
return;
int startOffset = getStartOffset();
int len = getEndOffset() - startOffset;
String context = "";
try {
context = getElement().getDocument().getText(startOffset, len);
catch (Exception e) {
e.printStackTrace();
int spaceCount = getSpaceCount(context) - 1;
int pixelsToAdd = targetSpan - span;
if (this.getRowNumber() == 1) {
int firstLineIndent = (int) StyleConstants.getFirstLineIndent(
getAttributes());
pixelsToAdd -= firstLineIndent;
int[] spaces = getSpaces(pixelsToAdd, spaceCount);
int j = 0;
int shift = 0;
for (int i = 1; i < cnt; i++) {
LabelView v = (LabelView) getView(i);
offsets[i] += shift;
if ( (isContainSpace(v)) && (i != cnt - 1)) {
offsets[i] += spaces[j];
spans[i - 1] += spaces[j];
shift += spaces[j];
j++;
protected int[] getSpaces(int space, int cnt) {
int[] result = new int[cnt];
if (cnt == 0)
return result;
int base = space / cnt;
int rst = space % cnt;
for (int i = 0; i < cnt; i++) {
result[i] = base;
if (rst > 0) {
result[i]++;
rst--;
return result;
public float getMinimumSpan(int axis) {
if (axis == View.X_AXIS) {
AttributeSet attr = getAttributes();
if (StyleConstants.getAlignment(attr) != StyleConstants.ALIGN_JUSTIFIED) {
return super.getMinimumSpan(axis);
else {
return this.getParent().getMinimumSpan(axis);
else {
return super.getMinimumSpan(axis);
public float getMaximumSpan(int axis) {
if (axis == View.X_AXIS) {
AttributeSet attr = getAttributes();
if (StyleConstants.getAlignment(attr) != StyleConstants.ALIGN_JUSTIFIED) {
return super.getMaximumSpan(axis);
else {
return this.getParent().getMaximumSpan(axis);
else {
return super.getMaximumSpan(axis);
public float getPreferredSpan(int axis) {
if (axis == View.X_AXIS) {
AttributeSet attr = getAttributes();
if (StyleConstants.getAlignment(attr) != StyleConstants.ALIGN_JUSTIFIED) {
return super.getPreferredSpan(axis);
else {
return this.getParent().getPreferredSpan(axis);
else {
return super.getPreferredSpan(axis);
public void setRowNumber(int value) {
rowNumber = value;
public int getRowNumber() {
return rowNumber;
public int getFlowSpan(int index) {
int span = super.getFlowSpan(index);
if (index == 0) {
int firstLineIdent = (int) StyleConstants.getFirstLineIndent(this.
getAttributes());
span -= firstLineIdent;
return span;
protected void layoutMinorAxis(int targetSpan, int axis, int[] offsets,
int[] spans) {
super.layoutMinorAxis(targetSpan, axis, offsets, spans);
int firstLineIdent = (int) StyleConstants.getFirstLineIndent(this.
getAttributes());
offsets[0] += firstLineIdent;
protected static boolean isContainSpace(View v) {
int startOffset = v.getStartOffset();
int len = v.getEndOffset() - startOffset;
try {
String text = v.getDocument().getText(startOffset, len);
if (text.indexOf(' ') >= 0)
return true;
else
return false;
catch (Exception ex) {
return false;
In a file called FixedStyledEditorKit.java
package .....<your package>.....
import javax.swing.text.*;
public class FixedStyledEditorKit extends StyledEditorKit {
  public ViewFactory getViewFactory() {
    return new FixedStyledViewFactory();
}In a file called FixedStyledViewFactory.java
package .....<your package>.....
import javax.swing.text.*;
public class FixedStyledViewFactory implements ViewFactory {
  public View create(Element elem) {
    String kind = elem.getName();
    if (kind != null) {
      if (kind.equals(AbstractDocument.ContentElementName)) {
        return new LabelView(elem);
      else if (kind.equals(AbstractDocument.ParagraphElementName)) {
// return new ParagraphView(elem);
        return new AdvancedParagraphView(elem);
      else if (kind.equals(AbstractDocument.SectionElementName)) {
        return new BoxView(elem, View.Y_AXIS);
      else if (kind.equals(StyleConstants.ComponentElementName)) {
        return new ComponentView(elem);
      else if (kind.equals(StyleConstants.IconElementName)) {
        return new IconView(elem);
// default to text display
    return new LabelView(elem);
}I then used it with a JTextPane by putting:
package ....<my package> ....
JTextPane description = new JTextPane();
    description.setEditorKit(new FixedStyledEditorKit());

Similar Messages

  • Hyphenation & text-align:justify in PDF's with CFDOCUMENT

    Hello everybody!
    We are using CF8.1 and are having problems of generating well designed PDF outputs with CFDOCUMENT. We would like to print out reports, which are hyphenated and have the text aligned. Example:
    This works fine:
    <html lang="en">
    <STYLE>p { width:260px;background-color:blue;-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;  -hyphens: auto;text-align:justify}</STYLE>
    <P>Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer</P>
    </html>
    This won't:
    <CFDOCUMENT FORMAT="PDF">
    <html lang="en">
          <STYLE>p { width:260px;background-color:blue;-moz-hyphens: auto; -o-hyphens: auto; -webkit-hyphens: auto; -ms-hyphens: auto;  -hyphens: auto;text-align:justify}</STYLE>
          <P>Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer Haematodynamometer</P>
    </html>
    </CFDOCUMENT>
    Do you have any solutions on this topics? Are do I have to wait until CF11.
    Thanks in advance
    Matthias

    4tun8mom wrote:
    Now, the problem is that, while the client likes this, they don't like that the headers and footers are grayed out and the colors are not as vibrant in Word as the program part I created and saved as a PDF.
    They're being a bit impractical in their complaints, in fact they remind me of my Dad!  The final product is still fine.
    4tun8mom wrote:
    They also don't like that if we keep this as a Word document, all the text is editable.
    That's fair enough, the solution would be to make the text in the header and footer an image instead.
    4tun8mom wrote:
    So my question is, can I create a PDF that has the same features with the expandable text control boxes.  If I can, would you recommend InDesign to do this?
    No you can't.  I'm pretty sure you can't create a PDF with expandable boxes and I'm very sure that you can't create a PDF that will add pages with headers and footrs.  However you can create a PDF with basic fillable text boxes, they're called forms and you need Acrobat as well to do it, google it and you'll find plenty of info.

  • Content Alignment = Justify In text Box

    Dear Friend,
    i have text Area Item for description .Here i want content alignment justify in that Text Area.
    How can i alighnment in Text Box.
    Thanks
    Edited by: Vedant on Sep 16, 2011 4:32 AM

    Hello,
    if by text box you mean a standard textarea item then i'm afraid you can't do that.
    It might be possibel if you use a rich text editor item.
    Regards,
    Dirk

  • [JS] Real "leading" of a paragraph with vertical alignement "justify"

    We have a problem reading the real "leading" of a paragraph when on the textframe is applied the vertical alignement "justify" and the leading was set up at "auto".
    It doesn't matter which leading is the resulting of this vertical justifying, but the result of the "text.leading" is always "auto".
    Do someone know another way for reading the real leading in pixels or other values?
    Or we'd have to calculate it?

    myPara.lines[1].baseline - myPara.lines[0].baseline will give you the measured leading of the second line.

  • Text alignment "Justify" is not aligned in Crystal Viewer.

    Hi,
    I am having a text field in report like paragraph format in Detail section and I have setting the text alignment as u201CJustifyu201D. If I launch the report through dhtml viewer the text is not aligned in justify format, it is getting aligned as left alignment, but it is working properly while exporting to PDF and Design Preview panel.
    This problem is occurs in Crystal Report XI Release 2 and Crystal Report 2008 also.
    This has been already posted and the link is Text Alignment - Justification Problem
    Please help me to overcome this issue.
    Thanks in Advance.

    With CR 2008, make sure you are on SP4:
    SP4
    https://smpdl.sap-ag.de/~sapidp/012002523100008782452011E/cr2008sp4.exe
    SP4 MSI
    https://smpdl.sap-ag.de/~sapidp/012002523100008782532011E/cr2008sp4_redist.zip
    SP4 MSM
    https://smpdl.sap-ag.de/~sapidp/012002523100008782522011E/cr2008sp4_mm.zip
    If that does not help, please provide a link to screen shots of the issue.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Align & Justify Text

    Is there a way to do this in the Lync 2013 client?

    If you want to center and justify text, I am afraid there is no such way to do this.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Automotic / Translate XML into create table

    Hi, I have a problem with Oracle8i. I like know how translate (automatic or not) the XML or DTD or Schema in databases, how is the correct method.
    Hi have a XML documents.
    For example:
    <?xml version ="1.0">
    <Course>
    <Name>JAVA WITH XML</Name>
    <Teacher>
    <Name>David Cabanillas</Name>
    </Teacher>
    <Students>
    <Name>Bo Derek</Name>
    <Name>Samantha Fox</Name>
    <Name>Sabrina</Name>
    </Students>
    </Course>
    Wich is the representation in "mode" create table?
    Thanks.

    Clob is a good solution if you document is very easy, but I would for example query the exercise with a level = basic and other kind of querys. Clob is a good solution?.
    My xml is the next:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <exercise title="Mesures de centralitzacis i de dispersis" context="econrmic" format="sections" difficulty="medium" level="basic" time=" ">
    <linkedElem name="mitjana aritmhtica" rType="pre" eType="concepte"/>
    <linkedElem name="mediana" rType="pre" eType="concepte"/>
    <linkedElem name="desviacis tmpica" rType="pre" eType="concepte"/>
    <linkedElem name="vari`ncia" rType="pre" eType="concepte"/>
    <linkedElem name="coeficient de variacis" rType="pre" eType="concepte"/>
    <linkedElem name="quartils" rType="pre" eType="concepte"/>
    <tool name="Internet, excel"/>
    <statement format="text"><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    <P ALIGN="JUSTIFY">A la p&agrave;gina WEB de l_Institut d_Estad&iacute;stica de Catalunya (www.idescat.es) hi trobareu la &quot;Consulta interactiva d_estad&iacute;stiques&quot; a on accedir a diversos indicadors socials. Cal que captureu la informaci&oacute; corresponent a la Renda Familiar Disponible per habitant corresponent a l_any 1995 per a les comarques de Catalunya.</P>
    </FONT><FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"> </P></FONT>]]></statement>
    <question title="apartat a" difficulty="low" level="basic" time=" ">
    <statement format=" "><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P><DIR>
    <P ALIGN="JUSTIFY">Calculeu la mitjana, la mediana, la vari&agrave;ncia, la desviaci&oacute; t&iacute;pica i el coeficient de variaci&oacute; de les dades capturades.</P>
    <P ALIGN="JUSTIFY"></P>
    <P ALIGN="JUSTIFY"> </P></DIR>
    </FONT>]]></statement>
    <solution format="text"><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    <P ALIGN="JUSTIFY">Mitjana: 1475,98</P>
    <P ALIGN="JUSTIFY">&#9;Mediana: 1456,9&#9;</P>
    <P ALIGN="JUSTIFY">Vari&agrave;ncia: 19900,6</P>
    <P ALIGN="JUSTIFY">&#9;Desviaci&oacute; t&iacute;pica: 141,07</P><DIR>
    <P ALIGN="JUSTIFY">&#9;Coeficient de variaci&oacute;: 9,56</P>
    <P ALIGN="JUSTIFY"></P></DIR>
    </FONT>]]></solution>
    <resolution format=" "><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    </FONT><FONT FACE="Rockwell" SIZE=2><P ALIGN="JUSTIFY"><IMG SRC="Image17.gif" WIDTH=563 HEIGHT=722></P></FONT>]]></resolution>
    </question>
    <question title="apartat b" difficulty="low" level="basic" time=" ">
    <statement format="text"><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P><DIR>
    </FONT><FONT SIZE=2><P ALIGN="JUSTIFY">Agrupeu les dades en els seg&uuml;ents intervals: 1200-1300, 1300-1400, 1400-1500, 1500-1600, 1600-1700 i 1700-2000.</P>
    </FONT><FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    <P ALIGN="JUSTIFY"> </P></DIR>
    </FONT>]]></statement>
    <solution format=" "><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    <P ALIGN="CENTER">Renda Familiar disponible per habitant (1995)</P>
    <P ALIGN="CENTER">Milers de pessetes</P>
    <P ALIGN="JUSTIFY"><IMG SRC="Image18.gif" WIDTH=253 HEIGHT=123></P>
    <P ALIGN="JUSTIFY"></P></FONT>]]></solution>
    <resolution format="text"><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P><DIR>
    <P ALIGN="JUSTIFY">Mireu la resoluci&oacute; de l'apartat c).</P>
    <P ALIGN="JUS                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        TIFY"></P>
    <P ALIGN="JUSTIFY"> </P></DIR>
    </FONT>]]></resolution>
    </question>
    <question title="apartat c" difficulty="low" level="basic" time=" ">
    <statement format="text"><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P><DIR>
    </FONT><FONT SIZE=2><P ALIGN="JUSTIFY">Calculeu, sobre les dades agrupades, la mitjana, la mediana, la vari&agrave;ncia i el primer i tercer quartils.</P>
    </FONT><FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P></DIR>
    </FONT>]]></statement>
    <solution format="text"><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    <P ALIGN="JUSTIFY">Mitjana: 1486,59</P>
    <P ALIGN="JUSTIFY">&#9;Mediana: 1459,38</P>
    <P ALIGN="JUSTIFY">&#9;Vari&agrave;ncia: 22878,05</P>
    <P ALIGN="JUSTIFY">&#9;Primer quartil: 1391,67</P>
    <P ALIGN="JUSTIFY">&#9;Tercer quartil: 1546,88</P>
    <P ALIGN="JUSTIFY"></P></FONT>]]></solution>
    <resolution format=" "><![CDATA[<FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P>
    </FONT><FONT FACE="Rockwell" SIZE=2><P ALIGN="JUSTIFY"><IMG SRC="Image19.gif" WIDTH=566 HEIGHT=438></P>
    </FONT><FONT FACE="Arial" SIZE=2><P ALIGN="JUSTIFY"></P></FONT>]]></resolution>
    </question>
    </exercise>
    My question is:
    With clob I could query complex.
    Thanks.
    null

  • CSS alignment disparities and fix: LIVE View & Browser Lab views

    The upper half is LIVE View in DW CSS5.5 while the lower left is IE 9 and the lower right is FF 11 in BrowserLab.  Why such a disparity between LIVE View and IE9 and FF11?  You may notice that the horizontal navigation bar is only properly aligned in the IE9 view.  In fact the IE9 is exactly as I want this dwt file to look like.  I am redesigning my current web site and working solely on the dwt file.   These are the dwt and CSS code views. Where do I start to have FF aligned as IE9 and to fix the misleading LIVE view image.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
      <meta name="generator" content="HTML Tidy for Linux/x86 (vers 11 February 2007), see www.w3.org" />
      <meta name="description" content="Dillmans of Notasulga, Alabama" /><!-- Loading favicon -->
      <link rel="shortcut icon" type="image/x-icon" href="http://frankdillman.com/images/favicon/pryapus.ico" />
      <!-- Link to style sheet for this web site -->
      <link href="../css/frdstyles.css" rel="stylesheet" type="text/css" />
      <!-- Title below is for browser title bar and search engines only -->
      <!-- TemplateBeginEditable name="doctitle" -->
      <title>The Dillmans of Notasulga, AL</title><!-- TemplateEndEditable -->
      <!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body style="margin: 0; padding: 0">
       <div id="wrap">
      <!--Start of page header -->
      <div id="header">
        <img src="../images/forest.gif" alt="forest gif" style="position:absolute; top: 5px; left: 5px" />
        <h1 style="margin-top: 0">Dillmans of Notasulga, AL</h1>
      </div>
      <!--End of page header-->
      <!--Start of horizontal nav bar-->
      <div id="navigationbar">
        <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a class="MenuBarItemSubmenu" href="#">us</a>
            <ul>
              <li><a href="#">Frank</a></li>
              <li><a href="#">Dorothea and me</a></li>
              <li><a href="#">Grandkids</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">local interest</a>
            <ul>
              <li><a href="#">Notasulga</a></li>
              <li><a href="#">Macon County</a></li>
            </ul>
          </li>
          <li><a class="MenuBarItemSubmenu" href="#">recreation</a>
            <ul>
              <li><a class="MenuBarItemSubmenu" href="#">stained glass</a>
                <ul>
                  <li><a href="#">Item 3.1.1</a></li>
                  <li><a href="#">Item 3.1.2</a></li>
                </ul>
              </li>
              <li><a href="#">GPry Dogs</a></li>
              <li><a href="#">Goats</a></li>
              <li><a href="#">Orchids</a></li>
              <li><a href="#">Genealogy</a></li>
              <li><a href="#">Farm </a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">politics</a>
            <ul>
              <li><a href="#">TEA Party Locator</a></li>
              <li><a href="#">Misc. Notes</a></li>
              <li><a href="#">Elections</a></li>
              <li><a href="#">Legislature</a></li>
            </ul>
          </li>
          <li><a href="#" class="MenuBarItemSubmenu">links</a>
            <ul>
              <li><a href="#">Not Forever Wild</a></li>
              <li><a href="#">Dillman Family Assoc.</a></li>
              <li><a href="#">Military</a></li>
            </ul>
          </li>
        </ul>
      <!--End of horizontal nav bar-->
      </div>
      <!--Start of page sidebar-->
      <div id="sidebar">
      </div>
      <!--End of page sidebar-->
      <!--Start of main content-->
      <div id="main">
        <!-- TemplateBeginEditable name="frankbody" -->page body - do not take closing div <!-- TemplateEndEditable -->
      </div><!--End of main content-->
      <!--Start of page footer -->
      <div id="footer">
        <table style="width: 100%" summary="footer items">
          <tr>
            <!-- TemplateBeginEditable name="page footer1" -->
            <td style="width: 75px"> </td>
            <td style="width:150px; text-align: right">
              <div id="update">
                <!-- #BeginDate format:En2m -->05-Dec-2012  15:03<!-- #EndDate -->
              </div>
            </td><!-- TemplateEndEditable -->
            <td style="width:150px; text-align:center">
              <div id="copyright">
                &copy; 2008, 2009, 2010, 2011, 2012
              </div>
            </td><!-- TemplateBeginEditable name="footer2" -->
           <!-- <td style="width:100px; text-align:center"><a href="http://validator.w3.org/check?uri=referer"><img src=
            "http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0 Strict" height="31" width="88" /></a></td> -->
           <!-- <td style="width:100px; text-align:center"><a href="http://jigsaw.w3.org/css-validator/"><img style=
            "border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss" alt=
            "Valid CSS!" /></a></td>  -->
            <!-- TemplateEndEditable -->
          </tr>
        </table>
      </div><!--End footer-->
        <!--close wrap--></div>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
       </script>
    </body>
    </html>
    CSS file:
    /*stylesheet.css for my personal pages*/
    /* Body text and page background */
    body{
         margin:0;
         padding: 0;   
         font-family: 'Book Antiqua', Times, Serif;
         font-size: medium;
         color: #000000;
         background-color: #FFFFFF;
    #wrap{
        margin: 0 auto;
        width: 860px;
        position: relative;
    /*Style for main content */
    #main{
        margin-left:14.5em;
        margin-right:0;
        padding: 5px;
        text-align: justify;
        background-color: #B2F63D;
        color: #333333;
    /* Page header style 4Dec2012 testing additonal height: auto line of code suggested by http://www.adobe.com/inspire-archive/january2011/articles/article2/index.html?trackingid=I EHCL */
    #header{
        top:100px;
        left:0;
        width:100%;
        height: auto;
        height:50px;
        background-color: #BF9230;
        border-bottom: thick solid #000000;
    /*horizontal naivagion bar using spry*/
    #navigationbar {
    /*Style for sidebar column  with total width of 10.5em and top:5.25em   UNABLE to GET top to align with body top.  Adjusting sidebar top has no effect */
    #sidebar {
        position: fixed;
        top: 5.25em;
        left: 4.65em;
        font-family: Arial, Helvetica, sans-serif;
        float: left;
        display: inline;
        padding: 2em;
        width: 10.5em;
        background-color: #619A00;
        border-right: thin solid #000000;
    .redbold {
        color: #FF0000;
        font-weight: bold;
    .quotetext {
        font-style:italic;
    .bluebold {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        font-weight: bold;
        font-variant: normal;
        color: #0066CC;
        text-decoration: none;
        text-align: center;
      /*Level 1 Headings */
    h1{
        font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: x-large;
        color: #00008b;
        text-align: center;
    /*Level 2 Headings */
    h2{
         font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: large;
        color: #00008b;
        text-align: center;
    /*Level 2 Headings in red*/
    h2_red{
        font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: large;
        color: #FF0000;
        text-align: center;
        font-weight: bold;
    /*Level 3 Headings */
    h3{
        font-family: 'Lucida Handwriting', 'Comic Sans MS', TSCu_Comic, cursive;
        font-size: medium;
        color: #00008b;
        text-align: center;
    /* Unvisited links */
    a:link{
       color: #00bfff; /* sky blue */
       text-decoration: underline;
    /* Visited links (no underline) */
    a:visited{
    color: #ff00ff; /* fuchsia */
    text-decoration: none;
    /* Hover links (red no underline) */
    a:hover{
    color: #ff0000; /* red */
    text-decoration: none;
    /* Active links (green no underline) */
    a:active{
    color: #00ff00; /* green */
    text-decoration: none;
    /*Float image to left of paragraph*/
    img.floatLeft{
       float: left;
       margin-right: 5px; margin-top: 5px; margin-bottom: 5px;
    /* Float image to right of paragraph */
    img.floatRight{
    float: right;
    margin-left: 5px; margin-top: 5px; margin-bottom: 5px:
    /* Center image between margins */
    div.center{
    width: 100%;
    text-align: center
    /* Page footer style */
    #footer{
         clear:both;   
         height: 42px;
         width: 100%;
         background-color: #BF9230;
         border-top: thick solid #000000;
    /*Page footer and automatic update of date */
    #update{
       font-family: 'Times New Roman', Times, serif;
       font-size: x-small;
       color: #000000;
       text-align: left;
       margin-left: 7em;
    /*Page footer copyright dates */
    #copyright{
       font-family: 'Times New Roman', Times, serif;
       font-size: x-small;
       color: #000000;
       text-align: left;
       margin-left: 3em;
    /*Style for tables of thumbnail images: lesson5, chapter2*/
    tables.thumbs{
        vertical-align: middle;
        text-align: center;
        border-collapse: collapse;
    /*Style for table cells that contain thumbnails*/
    td.thumbs{
        border: solid 1px #00bfff;
        padding: 5px;
    /*Style for thumbnail images*/
    img.thumbs{
        width:100px;
    /* determine if in use.  If not delete
    .legislative {
        color: #800000;
        font-size: 24px;
        font-style: normal;
        font-weight: bold;
        text-decoration: blink;

    I think it's fair to say Spry is not your best option anymore.  Spry 1.6 was a pre-release version made in 2006.  It neither works well in IE9 nor touch screen devices (iPhone, iPad, etc..) because it predates them.
    You could switch to Spry Menu 2.0 from the Widget Exchange (the last version made), but Adobe has abandoned the Spry framework in favor of jQuery:  
    http://blogs.adobe.com/dreamweaver/2012/08/update-on-adobe-spry-framework-availability.htm l
    Other Menus:
         Pop-Menu  Magic2 by PVII (DW extension purchase)
        http://www.projectseven.com/products/menusystems/pmm2/index.htm
        jQuery Superfish
        http://users.tpg.com.au/j_birch/plugins/superfish/
        jQuery Mega Menus 
        http://www.javascriptkit.com/script/script2/jkmegamenu.shtml
        CSS3 Dropdown Menus
        http://www.red-team-design.com/css3-dropdown-menu
        10 Responsive Menus
        http://speckyboy.com/2012/08/29/10-responsive-navigation-solutions-and-tutorials/
    Nancy O.

  • I want my spry horizontal accordian in explorer content table to be closed and also wont align left

    I've tried everything.  my accordian will stay closed when landing on the page in all browsers except explorer and also I can't get the tab text to align left no matter what I do.
    Here is the page http://www.lohud.com/legacy/advertising/mediakit/tjn_content_guide.html 
    Please help I've been at this for many many hours.
    Here is my code
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Main.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>The Journal News Media Group</title>
    <!-- InstanceEndEditable -->
    <style type="text/css">
    body {
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    text-align: center;
    background-image: url(images/backdrop.png);
    background-repeat: no-repeat;
    background-position:top center;
    background-color: #77787B;
    .pageLable {
    font-family: arial;
    font-size: 18pt;
    color: #00adf0;
    line-height: 25pt;
    vertical-align: middle;
    padding-top: 10px;
    .pageLableTagline {
    font-family: arial;
    font-size: 18pt;
    color: #A7A9AC;
    .BlueText {
    color: #00adf0 !important;
    .descriptionFont {
    font-family: arial;
    font-size: 10pt;
    line-height: 14pt;
    .labelSub {
    font-family: arial;
    font-size: 14px;
    color: #00adf0;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    .content12 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    .fontNinePoint {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    .white {
    color: #FFF !important;
    </style>
    <!-- InstanceBeginEditable name="head" -->
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
    <!-- InstanceEndEditable -->
    <style type="text/css">
    a:link {
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: underline;
    a:active {
    text-decoration: none;
    body,td,th {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    h1,h2,h3,h4,h5,h6 {
    font-family: Arial, Helvetica, sans-serif;
    h6 {
    font-size: 8px;
    color: #000;
    h4 {
    font-size: 12px;
    .fontsmall {
    font-size: 9pt;
    </style>
    <style type="text/css">
    </style>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    </head>
    <body leftmargin="0">
    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="126" rowspan="3"><a href="index.html"><img src="images/Logo_Nav_Black.jpg" alt="The Journal News Media Group" width="126" height="132" border="0" longdesc="index.html" /></a></td>
              <td width="780" height="30" align="right" valign="top"><table width="657" border="0" align="right" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="61" height="32" align="right" valign="middle"> </td>
                  <td width="372" align="right" valign="middle"><a href="http://www.linkedin.com/groups/Journal-News-Media-Group-4828545?trk=myg_ugrp_ovr" target="_new"><img src="images/linkedin.png" alt="linkedin" width="16" height="16" border="0" /></a></td>
                  <td width="37" align="center" valign="middle"><a href="http://www.facebook.com/pages/The-Journals-News-Media-Group/124999397672489" target="_new"><img src="images/facebook.png" alt="facebook" width="8" height="16" border="0" /></a></td>
                  <td width="90" align="center" valign="middle" nowrap="nowrap" class="white" style="font-size:12px"><strong><a href="newsletter.html" class="white">newsletter</a></strong></td>
                  <td width="24" align="center" valign="middle" class="white" style="font-size:12px"><img src="images/dot.png" alt="" width="9" height="9" /></td>
                  <td width="90" align="center" valign="middle" nowrap="nowrap" class="white" style="font-size:12px"><strong>  <a href="contact.html" class="white">contact us  </a></strong></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td align="right" valign="top"><table width="657" border="0" align="right" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="75" bgcolor="#000000"> </td>
                  <td width="369" bgcolor="#000000"><ul id="MenuBar1" class="MenuBarHorizontal">
                    <li class="MenuBarItemSubmenu"><a href="#">About</a>
                      <ul>
                        <li><a href="our_brand.html">Our Brand</a></li>
                        <li><a href="our_audience.html">Our Audience</a></li>
                        <li><a href="giving_back.html">Giving Back</a></li>
                        <li><a href="careers.html">Careers</a></li>
                        </ul>
                      </li>
                    <li><a href="digital.html" >Digital</a>                  </li>
                    <li><a href="#">Print</a>
                      <ul>
                        <li><a class="MenuBarItemSubmenu" href="#">Journal News</a>
                          <ul>
                            <li><a href="tjn_content_guide.html">Content Guide</a></li>
                            <li><a href="tjn_print_reach.html">Print Reach</a></li>
                            </ul>
                          </li>
                        <li><a href="special_sections.html">Special Sections</a></li>
                        <li><a href="creative_ad_units.html">Creative Ad Units</a></li>
                        <li><a href="zoning_guide.html">Zoning Guide</a></li>
                        </ul>
                      </li>
                    <li><a href="events.html">Events</a>
                      <ul>
                        <li><a href="golf_show.html">Golf Show</a></li>
                        <li><a href="theater_awards.html">Metropolitan High School Theater Awards</a></li>
                        <li><a href="rockland.html">Rockland Scholar Athlete</a></li>
                        <li><a href="ray_rice_day.html">Ray Rice Day</a></li>
                        <li><a href="cookie_swap.html">Cookie Swap</a></li>
                        <li><a href="give_grow.html">Give &amp; Grow</a></li>
                        </ul>
                      </li>
                    <li><a href="#"> Specs</a>
                      <ul>
                        <li><a href="print_specs.html">Print Specs</a></li>
                        <li><a href="digital_specs.html">Digital Specs</a></li>
                        <li><a href="deadlines.html">Deadlines</a></li>
                        <li><a href="terms_conditions.html">Terms &amp; Conditions</a></li>
                        </ul>
                      </li>
                  </ul></td>
    </tr>
                <tr> </tr>
              </table></td>
            </tr>
            <tr>
              <td height="70" align="right" valign="top"> </td>
            </tr>
          </table>
          <table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td height="40"> </td>
            </tr>
        </table></td>
      </tr>
    </table>
    <!-- InstanceBeginEditable name="MainTable" -->
    <table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="300" valign="top" bgcolor="#FFFFFF"><table width="906" border="0" align="center" cellpadding="10" cellspacing="0">
          <tr>
            <td height="57" align="left" valign="top" class="pageLable">Content Guide  <span class="pageLableTagline">lohud.com</span></td>
          </tr>
        </table> <div id="Accordion1" class="Accordion" tabindex="0">
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">News</div>
            <div class="AccordionPanelContent">
              <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content: </strong>The latest headlines, by county, updated continuously to keep readers informed of breaking news as it happens. Here is where they go to first for the latest on issues of particular importance to area residents: crime, politics, business, education, health and New York State news.<br />
                    <strong><br />
                    Advertiser Advantage:</strong> Benefit from prime positioning and high visibility on one of the most frequently<br />
                    visited pages on lohud.com.</td>
                  <td width="180" align="right"><img src="images/digital/contentguide/lh-news.jpg" alt="News" width="180" height="154" border="0" /></td>
                </tr>
              </table>
            </div>
          </div>
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">Tax Watch</div>
            <div class="AccordionPanelContent">
              <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="685" align="left" valign="top" class="descriptionFont"><strong>Content: </strong>Money and taxes. It’s a passion topic that many area residents have a keen interest in following. Our standing Tax Watch feature on LoHud.com keeps them in-the-know with watchdog columns on government accountability, blogs from local tax experts, timely articles and columns.<br />
                    <strong><br />
                    Advertiser Advantage:</strong> Ideal environment for financial, banks, real estate, and business.</td>
                  <td width="179" align="right"><img src="images/digital/contentguide/lh-taxwatch.jpg" alt="Tax Watch" width="179" height="155" border="0" /></td>
                </tr>
              </table>
            </div>
          </div>
          <div class="AccordionPanel">
            <div class="AccordionPanelTab">Communities</div>
            <div class="AccordionPanelContent">
              <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content: </strong>Sixteen ultra-local homepages dedicated to the unique villages, towns and cities of Westchester County, with daily updates, photos and neighborhood conversations designed to involve <br />
                    and engage readers — and have them returning regularly for updates.<br />
                    <strong><br />
                    Advertiser Advantage: </strong>Ideal for smaller advertisers looking to reach their best potential customers<br />
                    within targeted geographic areas.</td>
                  <td width="181" align="right"><img src="images/digital/contentguide/lh-community.jpg" alt="Communities" width="179" height="158" border="0" /></td>
                </tr>
              </table>
            </div>
          </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Living Here</div>
            <div class="AccordionPanelContent">
              <table width="865" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="686" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Awarded “First Place Winner/Niche Website” by the 2012 New York Associated Press! Offers an insider’s look at Lower Hudson Valley real estate for residents looking to buy, sell up, downsize or plan a renovation.<br />
                    <strong><br />
                    Advertiser Advantage:</strong> Ideal for real estate, financial, and home-related businesses. Provides a locally driven and highly targeted environment for your message.</td>
                  <td width="179" align="right"><img src="images/digital/contentguide/lh-livinghere.jpg" alt="News" width="179" height="155" border="0" /></td>
                </tr>
              </table>
            </div>
        </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Sports</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Comprehensive and updated frequently to keep fans up to date with the latest action from high school, college, major-league teams. Featuring game results, profiles of local athletes, perspective, commentary and blogs for reader interaction.<br />
              <strong><br />
              Advertiser Advantage:</strong> Action-packed environment for auto aftermarket, sporting goods, financial,<br />
              men’s interests, orthopedic and physical therapy businesses.</td>
            <td width="180" align="right"><img src="images/digital/contentguide/lh-sports.jpg" alt="Sports" width="180" height="158" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Blogs</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="683" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Can we talk? We sure can…and readers love to hear what our writers and editors have<br />
    to say. Our lively Blogs site is where they can turn to for conversation and opinion on all kinds of <br />
    subjects — community, lifestyle &amp; entertainment, news, opinion and sports, including our extremely popular Yankees blog.<br />
              <strong><br />
              Advertiser Advantage:</strong> Benefit from prime positioning and visibility on highly targeted pages that offer maximum impact and response.</td>
            <td width="181" align="right"><img src="images/digital/contentguide/lh-blogs.jpg" alt="News" width="181" height="157" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Multimedia</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> A picture is worth a thousand words and this photo/video gallery keeps readers involved and engaged with compelling local photos from the week and informative feature videos on trending stories.<br />
              <strong><br />
              Advertiser Advantage:</strong> Ideal for retailers of all kinds, benefit from prime positioning and visibility on<br />
              highly targeted pages.</td>
            <td width="178" align="right"><img src="images/digital/contentguide/lh-multimedia.jpg" alt="Multimedia" width="178" height="157" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Life & Leisure</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> The perfect complement to our daily “Life &amp; Style” print section, it’s where readers go to be inspired and entertained! Featuring complete local restaurant and food coverage, weddings/engagement announcements, home &amp; garden tips, movie &amp; TV reviews, music and more.<br />
              <strong><br />
              Advertiser Advantage:</strong> Ideal weekly environment for restaurants, entertainment and leisure-related<br />
              businesses.</td>
            <td width="180" align="right"><img src="images/digital/contentguide/lh-lifeleisure.jpg" alt="Life and Leisure" width="180" height="158" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Opinion</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Everybody’s got one — and this is where it counts. Our Opinion page on LoHud.com is just <br />
              that: opinions on the issues of the day, from our staff and from our readers, designed to inform, inspire and encourage interaction. Find editorials by our writers and editors, commentary, letters, editorial board surveys and more.<br />
              <strong><br />
              Advertiser Advantage:</strong> Benefit from prime positioning and visibility on highly targeted pages that offer maximum impact and response.</td>
            <td width="178" align="right"><img src="images/digital/contentguide/lh-opinion.jpg" alt="Opinion" width="178" height="156" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Obituaries</div>
      <div class="AccordionPanelContent">
        <table width="864" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="684" align="left" valign="top" class="descriptionFont"><strong>Content:</strong> Comprehensive and complete, with death notices, memorials, touching tributes and <br />
              convenient interactive features such as a search feature, free obituary alerts, one-click access to flowers and services, guest book signing and more.<br />
              <strong><br />
              Advertiser Advantages:</strong> Ideal environment for funeral homes, estate planners and florists.</td>
            <td width="178" align="right"><img src="images/digital/contentguide/lh-obits.jpg" alt="Obituaries" width="178" height="154" border="0" /></td>
          </tr>
        </table>
      </div>
    </div>
        </div>   
        <p> </p></td>
      </tr>
    </table>
    <script type="text/javascript">
    var Accordion1 = new Spry.Widget.Accordion("Accordion1",{ useFixedPanelHeights: false, defaultPanel: -1 });
    </script>
    <!-- InstanceEndEditable -->
    <table width="906" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="19" align="center" valign="middle" bgcolor="#77307d" class="white" style="font-size:12px"> <a href="contact.html"><img src="images/contactAnAdvert.png" alt="Contact an advertising expert" width="336" height="18" border="0" /></a></td>
        </tr>
      <tr>
        <td height="19" align="center" valign="middle" class="white" style="font-size:12px"><p><br />
        1133 Westchester Avenue, Suite N-110, White Plains, NY 10604   <img src="images/dot.png" width="9" height="9" alt="dot" />  P: 914-694-5500</p>
        <p> </p>
        <p><a href="http://www.gannett.com/" target="_new"><img src="images/Gannett.png" alt="Gannett" width="130" height="18" border="0" /></a><br />
          <br />
          Copyright © 2013<a href="http://www.lohud.com/" target="_new" class="white"> www.lohud.com</a>. All rights reserved.<br />
          Users of this site agree to the <a href="http://www.lohud.com/section/terms" target="_new" class="white">Terms of Service</a>, <a href="http://www.lohud.com/section/privacy" target="_new" class="white">Privacy Notice/Your California Privacy Rights</a>, and <a href="http://www.lohud.com/section/privacy#adchoices&gt;&lt;http://www.lohud.com/section/privacy #adchoices" target="_new" class="white">Ad Choices</a> <br />
        </p></td>
        </tr>
    </table>
    <p> </p>
    <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>  </tr>
    </table>
    <p> </p>
    <p> </p>
    <script type="text/javascript">
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    </script>
    </body>
    <!-- InstanceEnd --></html>

    It just wont align left ......This is my style sheet
    @charset "UTF-8";
    /* SpryAccordion.css - version 0.5 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    .Accordion {
    overflow: hidden;
    outline:none;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
    text-align: left;
    .AccordionPanel {
    margin: 0px;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is the selector for the AccordionPanelTab. This container houses
    * the title for the panel. This is also the container that the user clicks
    * on to open a specific panel.
    * The name of the class ("AccordionPanelTab") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel tab container.
    * NOTE:
    * This rule uses -moz-user-select and -khtml-user-select properties to prevent the
    * user from selecting the text in the AccordionPanelTab. These are proprietary browser
    * properties that only work in Mozilla based browsers (like FireFox) and KHTML based
    * browsers (like Safari), so they will not pass W3C validation. If you want your documents to
    * validate, and don't care if the user can select the text within an AccordionPanelTab,
    * you can safely remove those properties without affecting the functionality of the widget.
    .AccordionPanelTab {
    margin: 0px;
    padding: 2px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    text-align: left;
        padding-left: 10px;
    color: #000000;
    background-color: #c0dff5;
    border-bottom-width: 6px;
    border-bottom-style: solid;
    border-bottom-color: #FFF;
    text-indent: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is the selector for a Panel's Content area. It's important to note that
    * you should never put any padding on the panel's content area if you plan to
    * use the Accordions panel animations. Placing a non-zero padding on the content
    * area can cause the accordion to abruptly grow in height while the panels animate.
    * Anyone who styles an Accordion *MUST* specify a height on the Accordion Panel
    * Content container.
    * The name of the class ("AccordionPanelContent") used in this selector is not necessary
    * to make the widget function. You can use any class name you want to style an
    * accordion panel content container.
    .AccordionPanelContent {
    overflow: auto;
    outline:none
    margin: 0px;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    padding-left: 10px;
    padding-right: 10px;
    height: 200px;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open. The class "AccordionPanelOpen" is programatically added and removed
    * from panels as the user clicks on the tabs within the Accordion.
    .AccordionPanelOpen .AccordionPanelTab {
    background-color: c0dff5;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is an example of how to change the appearance of the panel tab as the
    * mouse hovers over it. The class "AccordionPanelTabHover" is programatically added
    * and removed from panel tab containers as the mouse enters and exits the tab container.
    .AccordionPanelTabHover {
    color: #999999;
    background-color: c0dff5;
    .AccordionPanelOpen .AccordionPanelTabHover {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* This is an example of how to change the appearance of all the panel tabs when the
    * Accordion has focus. The "AccordionFocused" class is programatically added and removed
    * whenever the Accordion gains or loses keyboard focus.
    .AccordionFocused .AccordionPanelTab {
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    text-align: left;
    /* This is an example of how to change the appearance of the panel tab that is
    * currently open when the Accordion has focus.
    .AccordionFocused {
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    .AccordionPanelOpen
    .AccordionPanelTab {
    background-color: c0dff5;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12pt;
    /* Rules for Printing */
    @media print {
      .Accordion {
      overflow: visible !important;
      .AccordionPanelContent {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    font-size: 12pt;
    padding-left: 10px;
    padding-right: 10px;

  • Nav bar "justify" problem

    http://www.ronancuanflynn.com
    Hi im trying to get my menu to stretch across the logo. I have done this using the following method but it only works in Safari from what i can tell.
    <div id="menu">
      <ul>
        <li><a href="#">Menu item 1</a></li>
        <li><a href="#">Menu item 2</a></li>
        <li><a href="#">Menu item 3</a></li>
        <li><a href="#">Menu item 4</a></li>
        <li><a href="#">Menu item 5</a></li>
      </ul>
    </div>
    ul{
        text-align:justify;
        list-style: none; list-style-image: none; margin: 0; padding: 0;
    ul:after{content:""; margin-left:100%;}
    li{display:inline;}
    a{display:inline-block;}
    My own html is the following:
    <body>
    <div class="navbar">
    <ul>
    <li><a class="home" href="index.php">HOME</a></li>
    <li> <a class="news" href="news.php">NEWS</a></li>
      <li><a class="music" href="music.php">MUSIC</a></li>
      <li><a class="shows" href="shows.php">SHOWS</a></li>
      </ul>
      </div>
    </div>
    </body>
    </html>
    And relevant CSS:
    ul{
        text-align:justify;
        list-style: none; list-style-image: none; margin: 0; padding: 0;
    ul:after{content:""; margin-left:100%;
    li{
              display:inline;
    a{display:inline-block;
    #navbar {
              margin-top: 0px;
              width: 375px;
              padding-left: 1px;
    Does anyone know how i could tweak it to work on all browsers? I would be so greatful if anyone has any ideas?
    Thanks
    AB

A: Nav bar "justify" problem

On line 57 of layout.css change this:
ul:after{content:""; margin-left:100%;}
li {display:inline}
to this:
#menu li a{
  padding:0 23px;
  display:inline;

On line 57 of layout.css change this:
ul:after{content:""; margin-left:100%;}
li {display:inline}
to this:
#menu li a{
  padding:0 23px;
  display:inline;

  • Justify text in Acrobat X

    I just switched over to Acrobat X. I am having trouble finding the spot to justify the text inside of a text box. Help!

    Are you asking about a text form field or a text box comment? If a form field, it has to be set up to allow rich text formatting. You can then bring up the Properties toolbar (Ctrl+E) and select the Align Justify button. This will work for text box comments as well.

  • Justify the text in a 'outputText' component

    How can I justify the text in a 'outputText' component ?
    All properties work, except the 'text-align' property
    <h:outputText styleClass="texto" value="#{menusBean.texto}" escape="false"/>
    I use this in a css file.
    .texto {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    padding: 3px;
    font-size: 11px;
    color: #333333;
    font-weight: normal;
    text-align: justify;
    Thanks,
    Sérgio Morais

    If you are not concerned about using renderkits other than the HTML renderkit then you can wrap the outputText tag with an HTML div tag. However, if you want to leverage other renderkits then I would advise wrapping your ouputText tag with a panel such as the PanelHorizontal.

  • Justify text in field on Adobe PDF form

    How do you justify the text in a form field in Acrobat Pro? The only options I have are left, center and right. I am using version 11 on a Mac. The text box is set to Georgia Italic 10pt, multi-line with rich text formatting. The size of the field is 150mm wide by 85mm deep. Any assistance will be appreciated.

    A user can justify the text in a rich text field, but this is not a property that you can set for a blank field, unfortunately. For the user to do it, they'd have to display the Properties bar (Ctrl+E) and use the Align Justified button:

  • Justify Hyperlink Text in Navigation Bar

    Hello,
    I am trying to justify the text of my navigation bar (which are all hyperlinks).  I would like to use css.  I have tried a variety of things but none seem to work.  I have attached the text.  If anyone could write the code I need it would be greatly appreciated!  Thanks!  I have attached the file as well.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Shupaca Handmade Alpaca Clothing</title>
    <link href="Shupaca.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    <!--
    a:link {
        text-align:justify;
        color: #666;
        font-family: Arial;
        font-size: 20px;
        text-decoration: none;
        font-style: normal;
        text-transform: uppercase;
        word-spacing: 100%;
        height: auto;
    a:visited {
        color: #666;
        font-family: Arial;
        font-size: 20px;
        text-decoration: none;
        font-style: normal;
        text-transform: uppercase;
        word-spacing: 100%;
    a:hover {
        color: #84cbe1;
        font-family: Arial;
        font-size: 20px;
        text-decoration: none;
        font-style: normal;
        text-transform: uppercase;
    a:active {
        color: #84cbe1;
        font-family: Arial;
        font-size: 20px;
        text-decoration: none;
        font-style: normal;
        text-transform: uppercase;
    -->
    </style>
    <script type="text/javascript">
    <!--
    //-->
    </script>
    </head>
    <body onload="MM_preloadImages('Images/Home Page Links/scarf.jpg')">
    <div class="MarginControl">
      <div id="NavigationBar">
        <a href="index.html" target="_self">Home </a><a href="scarves.html" target="_self">products </a><a href="construction.html" target="_self">who we are </a> <a href="construction.html" target="_self">why alpaca? </a><a href="construction.html" target="_self">FAQ's </a><a href="mailto:[email protected]">contact</a><a href="construction.html" target="_self"></a></p>
      </div>
    </div>
    </body>
    </html>

    As you will see though, by making the menu text so large, the interval between menu items looks all off.  Eithr dramatically red
    uce the text size, or you can set the width of each individual li by giving some an id and specifying width:
    <div id="NavigationBar">
      <ul>
        <li><a href="index.html">Home</a></li>
        <li id="prod"><a href="scarves.html">products</a></li>
        <li id="who"><a href="construction.html">who we are</a></li>
        <li id="why"><a href="construction.html">why alpaca</a></li>
        <li><a href="construction.html">FAQ's</a></li>
        <li><a href="construction.html">contact</a></li>
      </ul>
    </div>
    wtih this css - the changes in orange
    #NavigationBar a {
        color: #666;
        font-family: Arial verdana sans-serif;
        font-size: 20px;
        text-decoration: none;
        text-transform: uppercase;
        display: block;
    #NavigationBar a:hover, #NavigationBar a:active, #NavigationBar a:focus {
        color: #84cbe1;
    #NavigationBar ul {
        list-style: none;
        width: 850px;
    #NavigationBar li {
        text-align: center;
        padding: 0px;
        float: left;
        width: 118px;
    #NavigationBar li#who, #NavigationBar li#why {
        width: 180px;
    #NavigationBar li#prod {
        width: 136px;
    Hope that helps.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • Cfdocument does not support justified text

    I'm finding it impossible to justify text in a PDF created
    using cfdocument. I've tried both <p align="justify"> and CSS
    but
    neither work. If I change it to right or center it works
    which suggests justify is unsupported. Is this a bug or an
    oversight?
    I also tried putting text in P, DIV, SPAN, and tables without
    any luck. I'm using CF 7.01 Ent + hotfix 2 on Win2003. Last time I
    tried to report a bug to Macromedia they insisted I paid $500
    first. Does Adobe have a more professional and fairer policy?
    Is anyone else finding this forum painfully slow? I think
    Adobe should invest in an extra web server or two.
    Thanks,
    Gary.

    Hello Vidyaranya,
    Welcome to the Sony Community.
    I suggest you to contact Sony Reader Support Team here for all the troubleshooting and the information: http://ebooks.custhelp.com/app/answers/detail/a_id/93/kw/contact/r_id/166
    Regards,
    Miguael

  • Maybe you are looking for