fullmoon2
Technical User
- Aug 14, 2005
- 20
Hi
I have made a button with text which lies into a <div> with a class in HTML. I wonder how I can move the text up or down on the button? I've tried padding and "text-align: center" without success. Please help!
This is the css-code:
#hk .kassen {
background: url(../designbilder/btn_kassen.png);
width:84px;
height:30px;
margin: 1px 0 0 -40px;
border: none;
position: absolute;
color: #fff;
}
I have made a button with text which lies into a <div> with a class in HTML. I wonder how I can move the text up or down on the button? I've tried padding and "text-align: center" without success. Please help!
This is the css-code:
#hk .kassen {
background: url(../designbilder/btn_kassen.png);
width:84px;
height:30px;
margin: 1px 0 0 -40px;
border: none;
position: absolute;
color: #fff;
}