Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<title>Learning</title>
<link rel="stylesheet" type="text/css" href="test.css">
</head>
<body>
<h1>testing</h1>
<span class="error">* Required</span>
<form name="SignUp"  method="post" action="">
<fieldset>
<div>
 <label>Name:</label><input id="NAME" type="text" name="name" placeholder="Name"  required></span>
</div> 
<div>     
 <label>Email:</label><input id="EMAIL" type="email" name="email" required><span id="error_EMAIL" class="error" ></span>
</div>
<div>
<label></label><input type="submit" value="Send" >
</div>
</fieldset>
</form>
</body>
</html>
 
p {color:blue;}
.error {color: #FF0000;}
label { 
display: inline-block; 
width: 150px;
text-align: right;
margin-right:20px;  //How far the label element and input box
margin-top:100px;
 }
fieldset{
//border:none;
width:500px;
margin:0px auto;
}
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers