Quote:
Originally Posted by patrik
It's very useful to actually read the earlier posts to understand what the wished outcome is. (Your example does not give that.)
How about you read the posts, and then make an example, without line-height or display:block which gives that outcome.
Can you do that?
|
Actually the CSS example he uses will achieve what was asked, he just did not include the html code:
Code:
<h3>Chapter 1</h3>
<p class="line2">The Ending of the Beginning</p>
The reason I don't like that approach is it is not minimalist, and causes issues with the auto TOC functions. You would need to add the following title attribute:
Code:
<h3 title="Chapter 1 The Ending of the Beginning">Chapter 1</h3>
<p class="line2">The Ending of the Beginning</p>
My example does that all in one, minimalist, fell swoop...and it makes it much easier for a human to read the code:
Code:
<h3>Chapter 1 <span>The Ending of the Beginning</span></h3>