newtda
10-25-2003, 11:02 AM
Good morining, how would I put a space betweeen the word last name and the text box where users inputs there name in a form?
|
Click to See Complete Forum and Search --> : Help in javascript form newtda 10-25-2003, 11:02 AM Good morining, how would I put a space betweeen the word last name and the text box where users inputs there name in a form? javascripthelpB 10-25-2003, 11:06 AM I always find using a table to seperate everything works well. Charles 10-25-2003, 01:33 PM From the HTML 4.01 Specification: Tables should not be used purely as a means to layout document content as this may present problems when rendering to non-visual media. Additionally, when used with graphics, these tables may force users to scroll horizontally to view a table designed on a system with a larger display. To minimize these problems, authors should use style sheets to control layout rather than tables. http://www.w3.org/TR/html4/struct/tables.html#h-11.1<!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"> <meta name="Content-Script-Type" content="text/javascript"> <title>Example</title> <style type="text/css"> <!-- fieldset {float:left; padding:1ex} label {display:block; text-align:right} input {margin-left:1em} button {clear:left} --> </style> <form action=""> <div> <fieldset> <legend>Name</legend> <label>First Name<input type="text"></label> <label>Middle Name<input type="text"></label> <label>Last Name<input type="text"></label> </fieldset> <button type="submit">Submit</button> </div> </form> webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |