This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm trying to create labels with background and borders. I want the text inside the labels to be displayed at both the horizontal and vertical center. I'm able to get the text at the horizontal center of the label. I used "style=text-align:center;" to get that working.. However I could not get the text at the vertical center. I tried many style attributes. I used 'vertical-align' style attribute too, which doesn't work.. Any suggestions?