absmiddle with CSS


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;

Leave a comment

Please note that we won't show your email to others, or use it for sending unwanted emails. We will only use it to render your Gravatar image and to validate you as a real person.