absmiddle with CSS

Posted: 12/22/2010

In ASP.NET, at least in Visual Studio 2008, AbsMiddle is still listed under the alignment. If you’re worried about cross browser support you’ll want to use CSS to try to recreate what AbsMiddle does. This has been posted around the web, but I often find myself relooking for the solution so I decided to post a blog entry:

    margin-bottom: .25em; vertical-align:middle;