div.css { height:35px; width:500px; } a.css { height:100%; width:100%; display:table - cell; text-align:center; vertical-align:middle; }
Quote:I resolved, actually anchor tag has display as table-cell when changed it to block its working fine
div.css { //height:35px; line-height:35px; width:500px; }
a.css { height:100%; width:100%; //display:table - cell; display:block; text-align:center; vertical-align:middle; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)