|
Posted by Jonathan N. Little on 11/15/05 17:22
brian.newman@wpafb.af.mil wrote:
> <div id="otherBaseData" style="display:none; margin-left:20px">
> <tr>
> <td> Type in Location </td>
> <td><input type="text" name="projected_base" maxlength="50"></td>
> <td></td>
> <tr>
> </div>
>
> I'd like for the above to not be visible when the page loads, so,
> later, I can change it using javascript to be shown. I haven't written
> the javascript to reveal this block. I wanted to test it as is first.
> It shows when the page loads. I have no idea why. I've tested it in
> both IE 6 and Firefox and they both act the same way.
> What am I doing wrong here?
>
Cannot put a DIV between TABLE and TR elements! But you could style the
TR directly
<table>
....
<tr id="otherBaseData" style="display:none;">
<td> Type in Location </td>
<td><input type="text" name="projected_base" maxlength="50"></td>
<td></td>
<tr>
....
</table>
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Navigation:
[Reply to this message]
|