span tag

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

He there!

is it permitted to insert a span block into another span block, like
this ?

<SPAN id=span1>
    <SPAN id=span2 style="display:none">

I've tried something like this, but span2 still visible..
any idea ??

thanks a lot :)

Re: span tag

Quoted text here. Click to load it

The span element does not constitute a block in HTML sense (and it does
not constitute a block in CSS sense by default). Other than that, the
technical answer is "yes". You could have checked this from the nearest
HTML reference faster than you typed your message.

On the other hand, using <span> tends to mean that you have not tried
to use appropriate markup. Using style="display:none" suggests that you
are doing something foolish, or that this is not what you are trying to
do in reality.

Quoted text here. Click to load it

I don't believe you. Those spans create nothing visible, with or
without the style sheet. Your actual document contains something else.

Besides, whether the style sheet has some effect is a quite different

Yucca, /
Pages about Web authoring:

Re: span tag

thank you, for your helpful reply.

On Thu, 26 May 2005 13:51:50 +0000 (UTC), "Jukka K. Korpela"

Quoted text here. Click to load it

Site Timeline