Click to See Complete Forum and Search --> : i have input type=button


pelegk1
07-09-2003, 06:10 AM
and i want to change its width whats to do?

Charles
07-09-2003, 06:26 AM
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Example</title>
<style type="text/css">
<!--
button {padding:3em}
-->
</style>
<div><button>Hello</button></div>

diamonds
07-10-2003, 11:13 AM
That is a way to make all the buttons the same size. is you want to make one button a size, use this:


<input type="button" style="width:XXX;" value="text to show everyone">

before using, change the XXX to the size in pixels that you want!
remember, you can change the type to reset and submit as well, and, change the value, too!