Posted by 0xDeadBeef on 10/17/07 00:38
Hi All,
As you may have guessed, I'm using input text elements in a table in a
liquid layout window under IE. I wish the table and the input element
to be 50% of the width of the window. The markup is shown below and
is posted at:
http://www.mountaindog.com/stuff/test.html
This simple markup works as I expect under Firefox but under IE the
table wants to show all the text in the input element. The table is
unable to shrink the input element. As I shrink the width of the
window, the table stops shrinking when the text fills the input
element. This is bad. I would like IE to behave as Firefox does.
Does anyone know how to get around this IE behavior? Thanks for your
help.
Len
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>
.testtable { width: 50%; }
.testtext { width: 98%; }
</style>
</head>
<body>
<table class="testtable">
<tr>
<td>
<input type="text" class="testtext"
value="01234567890123456789012345678901234567890123456789" />
</td>
</tr>
</table>
</body>
</html>
Navigation:
[Reply to this message]
|