tentcss icon indicating copy to clipboard operation
tentcss copied to clipboard

textarea in horizontal form can't display inline because default block

Open tablecell opened this issue 2 years ago • 1 comments

tablecell avatar Oct 18 '21 03:10 tablecell

<!doctype html><html><head>

 <meta charset='utf-8' />
 <link rel="stylesheet"  href="tent.css" />
 


<style>

 label {
 display:inline;
 vertical-align:top;
 }
</style>
</head><body><div class="container" >

<form >
<br><label> title </label>
<input name="title" />
<br><label> js </label>
<input type="checkbox"  name="lang[]"  value="es5"> es5
<input type="checkbox"  name="lang[]"  value="es6"> es6
<br><label> content </label>
<textarea  rows="15"  cols="35"   ></textarea>
</form>
</div></body></html>

tablecell avatar Oct 18 '21 03:10 tablecell