How to align text lower on div class?
-
hi. I have a problem in divs.. the text is in the center vertically and horizontally. So if I use a large font, it won’t look nice. here’s a sample of the image
How do I align the text?
I use `<div class=blogtitle>
<?php the_title(); ?></div>
</div>then on the css:
.blogtitle {
background: transparent url(‘images/title.png’) left bottom no-repeat;
color: #3F503F;
line-height: 55px;
width: 470px;
text-align:center;
letter-spacing: 2px;
font-family: Century Gothic;
font-weight: bold;
text-transform:uppercase;
font-size: 22px;
}`what’s missing in the code?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to align text lower on div class?’ is closed to new replies.