Click to See Complete Forum and Search --> : Can you tell which CSS parameter can put the text bit up ?


cofactor
09-20-2009, 09:36 AM
see the attached image .....text is bit lower ....how to move the text in the button a little bit up ?

CSS i used

.more {
display: block;
width: 130px;
height: 33px;
margin-top: 20px;
padding-top: 7px;
background: url(images/img10.jpg) no-repeat left top;
text-align: center;
text-transform: uppercase;
font-size: 10px;
color: #FFFFFF;
}

code :

<a href="#" class="more">Read More</a>


Can you tell which CSS parameter can put the text bit up ?

scragar
09-20-2009, 09:41 AM
Reduce the padding-top, or add to the padding-bottom.

cofactor
09-20-2009, 10:12 AM
i used padding-top=2px

and that solved my problem :)

happy.

thanks for the time