10 Replies Latest reply on Dec 11, 2007 2:38 AM by dietmar.paulus

    TextInput, how to align text vertically?

    Mike8086 Level 1
      I have a textfield that I resized to be width=50, height=50. Unfortunately, instead of the line of text the user types appearing in the middle of the box, it is on a line just below the top of the box. I've tryed defining a style where I set the vertical-alignment to "middle" but that has no effect. Is there any way to do this?


      .background1 {
      background-color: #f5f5f5;
      font-size: 10px;
      font-weight: bold;
      text-align: center;
      padding: 0px;
      margin: 0px;
      width: 50px;
      border-spacing: 0px;
      border: 0px