"Rate Module" How to put the number inside the button?
This is done by using some CSS. 

look at the HTML structure there. 'LI' tag is used there. Just use the anchor style to LI tag. 

background: #EEE;
border: 1px solid #CCC;
margin-right: 3px;

Use this style to li and remove anchor border. Also change the hover style of anchor tag.

Use firebug to find the structure.