html - Applying CSS styling TOP correctly -


i'm kind of new css styling, went couldn't express how solve, hope clear in image attached, want put label beside top of textarea, 1 please in this

enter image description here

the thing asking called vertical-align , in case have used vertical-align:top

see fiddle

the vertical-align property sets vertical alignment of element. can read more vertical-align here , here

html

<div>      <label>employee comments</label>      <textarea></textarea> </div> 

css

 label{vertical-align:top;} 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -