How can I get the text in a textarea to flow around a floating div like any other div does without problem?
Here are three elements:
<div class=float1>bla bla</div>
<div class=div1>div flowing normally</div>
<textarea class=textarea1>textarea not flowing normally</textarea>
CSS:
.float1 {
width:200px;
float:right;
}
.div1, .textarea1 {
width:400px;
height:70px;
}
.div1 {
background-color:green;
/*display:inline-block;*/
}
.textarea1 {
background-color: yellow;
border:0px;
resize: none;
}
Look at this Fiddle in which div1 flow normally but I can't get the textarea to flow the same way...
Thanks!