Reply to Re: Div not hiding in IE 6 or Firefox

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 11/15/05 17:13

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?

What happens if you move the styling to the style sheed under the id, or
remove the id from the tag? URL to your page?

What happens when you want to display it in a browser where JavaScript
is disabled or stripped by a firewall?

--
-bts
-Warning: I brake for lawn deer

[Back to original 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

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