It's more of putting h2
inside span
.
Full Source:
<span class="warning">
<h2>Bushfire warning <span>Posted 03/11/2009 at 2.05pm</span></h2>
<p class="warning" />Dignissim elit quod dolore sollemnes iriure. Ut suscipit nunc laoreet lectorum facilisi. Consequat eodem consequn congue humanitatis. Vel in litterarum odio solissi. <a href="#">For more information click here.</a>
</span>
You can't put a h2 inside a span tag. Try using a div
instead:
<div class="warning">
<h2>Bushfire warning <span>Posted 03/11/2009 at 2.05pm</span></h2>
<p class="warning" />Dignissim elit quod dolore sollemnes iriure. Ut suscipit nunc laoreet lectorum facilisi. Consequat eodem consequn congue humanitatis. Vel in litterarum odio solissi. <a href="#">For more information click here.</a>
</div>