es131245 Posted July 19, 2012 Share Posted July 19, 2012 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 More sharing options...
kanchatchai Posted July 23, 2012 Share Posted July 23, 2012 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 More sharing options...
eTianbun Posted July 23, 2012 Share Posted July 23, 2012 Dont get what you mean, maybe you can add more description of what you want. :S Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now