I am changing the bootstrap based HTML editor. I did an image upload. In loading images, I create an image inside a div.
<div style="border: 1px solid;padding: 10px; width: 300px;resize: both;overflow: auto;">
<img src="uploads/images/dark_knight.jpg">
</div>
I want the image to be resized,
element.style {
border: 1px solid;
padding: 10px;
width: 300px;
resize: both;
overflow: auto;
}
But the problem is that when I press the cursor down, it happens inside the div containing the image (instead of the below div).
so what changes should I make to move the cursor below the div when I press a key?
source
share