Afficher un message
Vieux 18/03/2008, 00h24   #1
Summercool
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut is <div style="display: inline"> identical to <span>?

There is often a discussion of

<div style="display: inline">

being able to make a block element into an inline element.

so is it true that

<div style="display: inline">
[any possible markup here...]
</div>

is *identical* to

<span>
[any possible markup here...]
<span>

and vice versa,

is <span style="display: block"> identical to a <div>?

please, if you could, indicate whether this is your opinion, like from
some years of experience, or whether there is a reference documenting
that it is true? thanks so much.



  Réponse avec citation
 
Page generated in 0,05404 seconds with 9 queries