Quote:
Originally Posted by JSWolf
Do not use line-height for anything. You do not need it and it's best to use the default line height. It's best to be as minimal as you can with the CSS and line-hight is one thing that doesn't need to be there. Also, display: block does nothing so it can go. Use top and bottom margins like this...
Code:
h3 {
margin-top: 1em;
margin-bottom: 1.5em;
text-align: center;
}
.line2 {
font-weight: bold;
text-align: center;
}
|
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?