Button [SOLVED]
Posted: Thu Apr 05, 2012 4:04 pm
Hi Guys,
I have a button and I gave it a width and height, the button has a full Bg image, and I want to align the text inside it in the middle Vertical and Horizontal, is their a way to play around that as vertical-align:middle; does not work?
HTML
CSS
Youssef
I have a button and I gave it a width and height, the button has a full Bg image, and I want to align the text inside it in the middle Vertical and Horizontal, is their a way to play around that as vertical-align:middle; does not work?
HTML
Code: Select all
<a href="#" class="Light_Link">Details</a>Code: Select all
.Light_Link { width:100px; text-align:center; height:36px; vertical-align:middle; background:url("../../images/Light_Link_bg.png") no-repeat scroll 0 0 transparent; display:block;}
Youssef