Jump to content

width to minimum


es131245
 Share

Recommended Posts

page looks like

	 <fieldset>	  <table>	   <tr>	    <td><span>Email:</span></td>	    <td><input name="email" type="text" value="" /></td>	   </tr>	   <tr>	    <td><span>Pass:</span></td>	    <td><input name="password" type="password" value="" /></td>	   </tr>	   <tr><td colspan="2" style="text-align:center;"><input type="submit" value="Submit" /></td></tr>	  </table>	 </fieldset>    </form>

The question is how to get its width to minimum? Only width:0; works but it isnt not beautiful =D

Link to comment
Share on other sites

I don't know How. But I Use This.<head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>User Login Form</title><style type="text/css"><!--#login_block { width:233px; height:119px; z-index:1; border: 1px solid #F63; padding: 5px; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; background-color: #FFE7CE;}#login_title { margin: 0px 0px 10px 0px; padding: 1px; border: 1px solid #069; background-color: #ECF7FD;}--></style></head> <body><center><br /><br /><br /><br /><br /><br /><div id="login_block"> <form name="form1"> <div id="login_title">User Login </div> <table align="center"> <tr> <td><span>Email:</span></td> <td><input name="email" type="text" value="" /></td> </tr> <tr> <td><span>Pass:</span></td> <td><input name="password" type="password" value="" /></td> </tr> <tr><td colspan="2" style="text-align:center;"><label> <input type="reset" name="Reset" id="button" value="Reset" /> </label> <input name="Submit" type="submit" id="Submit" value="Submit" /></td></tr> </table> </form></div></center></body></html>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...