code: protected Element createTextElement(String data, float width)
      {
          Element el = createTextElement(width);
          Text text = doc.createTextNode(data);
          el.appendChild(text);
          return el;
      }
docs: Creates an element that represents a single positioned box containing the specified text string.
  @param data the text string to be contained in the created box.
  @return the resulting DOM element