+1
Under vurdering

Text aligning to top within text box?

sovtek 11 år siden opdateret 11 år siden 2
This may be a simple question: If I make a text box with a height of 100px, and only put one word in it, is it possible to have the actual text align to the top of the box? It always gets vertically aligned within the text box, depending on the amount of text applied to it.
The answer is that you should use the valignment attribute. However this attribute currently only works on the textfield as there is a bug with valignment on a text tag.

In the meantime you can use height="fit" and the text object should size to the same height of the text itself and you can position the whole tag where you need it.

Kundesupport af UserEcho