Here i'm new to this please Guide me how can i arrange Two textbox beside of textArea
<form class="form-horizontal">
<div class="row">
<div class="form-group">
<div class="col-sm-2 col-md-2">
<label>Fname</label>
</div>
<div class="col-sm-4 col-md-4">
<input type="text" class="form-control" placeholder="fname" />
</div>
</div>
</div>
<div class="row">
<div class="col-sm-2 col-md-2">
<label class="control-label">comment</label>
</div>
<div class="col-sm-4 col-md-4">
<textarea class="form-control" rows="5"></textarea>
</div>
<div class="col-sm-4 col-md-4">
<label>Lastname</label> <input type="text" class="form-control" placeholder="lname" /><br />
<div class="col-sm-4 col-md-4">
<label>middlename</label> <input type="text" class="form-control" placeholder="moddlename" />
</div>
</div>
</div>
</form>
Here i wana to arrange LastName : TextBOx Below this MiddleName:TextBox These two should come beside textArea
You can basically your nested grid to attain the more complex structure. https://getbootstrap.com/docs/3.3/css/#grid-nesting
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<form class="form-horizontal">
<div class="row">
<div class="form-group">
<div class="col-sm-2 col-md-2">
<label>Fname</label>
</div>
<div class="col-sm-4 col-md-4">
<input type="text" class="form-control" placeholder="fname" />
</div>
</div>
</div>
<div class="row">
<div class="col-sm-2 col-md-2">
<label class="control-label">comment</label>
</div>
<div class="col-sm-4 col-md-4">
<textarea class="form-control" rows="7" ></textarea>
</div>
<div class="col-sm-4 col-md-4">
<label>Lastname</label> <input type="text" class="form-control" placeholder="lname" /><br/>
<label>middlename</label> <input type="text" class="form-control" placeholder="moddlename" />
</div>
</div>
</form>
</div>
</body>
</html>
Este artigo é coletado da Internet.
Se houver alguma infração, entre em [email protected] Delete.
deixe-me dizer algumas palavras