# Vertically aligning an html field

**URL:** <https://forum.servoy.com/t/vertically-aligning-an-html-field/6151>\
**Category:** Classic Servoy\
**Created:** [June 29, 2006, 5:20pm UTC](https://forum.servoy.com/t/vertically-aligning-an-html-field/6151 "2006-06-29T17:20:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![amason](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@amason](https://forum.servoy.com/u/amason)\
**Post date:** [June 29, 2006, 5:20pm UTC](https://forum.servoy.com/t/vertically-aligning-an-html-field/6151/1 "2006-06-29T17:20:19Z")

</div>

Hi,

If I have a large field that displays:

some text

How do I make sure that the text aligns to the top left of the field size? Right now it vertically aligns to the middle. I’ve tried putting it in a table with valign=“top”, but that didn’t solve it…  
Thanks!

---

<div class="post-metadata">

**Author:** ![amason](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@amason](https://forum.servoy.com/u/amason)\
**Post date:** [June 29, 2006, 8:51pm UTC](https://forum.servoy.com/t/vertically-aligning-an-html-field/6151/2 "2006-06-29T20:51:48Z")

</div>

Anyone?

---

<div class="post-metadata">

**Author:** ![swingman](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/swingman/32/4536_2.png) [@swingman](https://forum.servoy.com/u/swingman)\
**Post date:** [June 30, 2006, 6:52am UTC](https://forum.servoy.com/t/vertically-aligning-an-html-field/6151/3 "2006-06-30T06:52:21Z")

</div>

Search the forum… someone solved this problem a while ago.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [June 30, 2006, 10:22am UTC](https://forum.servoy.com/t/vertically-aligning-an-html-field/6151/4 "2006-06-30T10:22:17Z")

</div>

Hi Amason,

What form object are you using ?  
Is it a label ?  
When you use a label you need to set the VerticalAlignment property of this label to TOP.

Hope this helps.
