:: Forum >> Version 2 >>

HTML forms alignment problems

More information on this topic is available in the documentation section: /ui.button/.

How to fix alignments with standard form objects?

<input type="text" />
<script>
var obj = new AW.UI.Button;
obj.setControlText("Button");
obj.setControlImage("favorites");
document.write(obj);
</script>
cristiroma
Wednesday, October 4, 2006
All AW controls are inline and aligned to the middle. So you have to either align them to the top or align standard form objects to the middle -

.aw-ui-button {vertical-align: top}

or

input {vertical-align: middle}
Alex (ActiveWidgets)
Wednesday, October 4, 2006



This topic is archived.

Back to /ui.button/

Documentation:

Forum search