PDA

View Full Version : Behavior (HTC) problem with input type text



korg
11-05-2003, 09:29 AM
Hi, I use HTML component (HTC) to create my own dropdown list and i use an input type text in my .htc to represent my dropdown field. The problem I have is when I use my component into a table in the primary page, the input doesn't appear in my component. Here is how I create my component :

<body>

<div id="dropdownContainer" unselectable="on" style="width: 300;">

<table id="myTable" border="0" cellSpacing="0" cellPadding="0">

<tr>

<td>

<input type="text" id="myInput" unselectable="on" contentEditable="false" >

</td>

<td style="width: 25px" align="center">

images/dropdown/dropdown.gif

</td>

</tr>

</table>

</div>


</body>

In the primary page, I see the borders of my div and the image right aligned into it, but the input isn't rendered at all.

Does somebody can help me please?? If I use a div or a span instead of the input type text it works, but I must use an input for some behaviors that aren't available with other object like div and span.

Thanks for information!

redcircle
11-06-2003, 06:23 AM
HTC? Too proprietary for me. I'd hate to be stuck under one platform and one browser..