Forum Moderators: not2easy
I have a css stylesheet defining wigth:100% and height:100% for textarea.special. The goal is of course to dynamically wrap the text I am displaying.
Both work great with ie6 but the height:100% is not supported by ie5. What could I do to still wrap vertically any text with ie5?
Any suggestion would be appreciate a lot!
Thanks,
Brice
I may not be understanding this properly.. but the only way to get an element to inherit height from it's parent is to have a height explicitly set on the parent element.
I tried this and it works fine in IE5, but may not be what you mean?
<style type="text/css" media="screen">
.wrapper {
width: 400px;
height: 300px;
}.wrapper textarea {
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div class="wrapper">
<textarea>
I have a css stylesheet defining wigth:100% and height:100% for textarea.special.
The goal is of course to dynamically wrap the text I am displaying.Both work great with ie6 but the height:100% is not supported by ie5.
What could I do to still wrap vertically any text with ie5?
Any suggestion would be appreciate a lot!
</textarea>
</div>
post your code snippets (parent element included) if this is not what you're after.
Suzy