On 2008-01-08, jodleren <sonnich (AT) hot (DOT) ee> wrote:
Quote:
Hi
I have the code below. I have used something similar before (also in
tables), but this time the span in visible all the time - the idea is
to show the <tr> row only when needed.
What do I do wrong? |
Set display: none on the tr instead.
Putting <span> in a <table> like that is such invalid HTML the browser
has assumed it can't possibly be what you meant and moved the span
somewhere else-- quite likely out of the table altogether.
This is why you have to validate. Not just anything goes.