You are here: display:none ignored « HTML « IT news, forums, messages
display:none ignored

Posted by Willem Alberda on 11/01/06 10:28

Hi

If I create a small html file with the following lines

<table>
<span style='display:block'><tr><td>Number one</td></tr></span>
<span style='display:none'><tr><td>Number two</td></tr></span>
<span style='display:block'><tr><td>Number three</td></tr></span>
</table>

all three lines are displayed while I expected that "Number two" would be
hidden.

If I remove the <table> and </table> tags, it indeed only shows the first
and the third line, so somehow the table interferes here, but I don't know
why or how.

Can someone explain please?

Thank you
Willem Alberda

 

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

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