See this example:
p {
display: inline;
}
em {
display:block;
}
<p> Outer inline <em>Block <p>Inner inline</p></em></p>
I expect the <p>Inner inline</p>
to be inlined with Block
, however, it starts in a new line. Does anyone have ideas about this? Thanks!