Sizing of form elements with CSS

1 Jan

Sizing of form elements should be fairly supported by now. All it takes for width is to include a width property with CSS.

Example:









CSS:


<style>
<!--
.two {width: 200px; }
-->
</style>

HTML:


<form action="">

<input class="two" type="text" value="button text here" />

</form>

No comments yet

Leave a Reply