You are here: Re: Div not hiding in IE 6 or Firefox « HTML « IT news, forums, messages
Re: Div not hiding in IE 6 or Firefox

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация