Having trouble with IE Resizing? The following code seems simple but it's causing issues: A div containing a text-box that should take up 100% of the DIV while still showing the red border. Unfortunately, setting height and width to 100% causes the border to disappear :-(
Here is the HTML:
<div>
<textarea></textarea>
</div>
And here is the CSS:
div{
width:500px;
height:500px;
border:solid 1px red;
padding:1px;
position:absolute;
top:100px;
}
textarea{
position:absolute;
top:0px;
bottom:0px;
right:0px;
left:0px;
}
I'm hoping someone out there has a solution for this issue. The DTD in the example is HTML Strict. Here is the code example link: http://jsfiddle.net/QJYuz/
If you know why this problem occurs, please share any links or insights that could help solve it.