3.2.0

HTML forms alignment problems

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
October 4,
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)
October 4,

This topic is archived.

See also:


Back to support forum