Vertically aligning text in a div with CSS

Tables were good. When you tell it to align something somewhere, it'd work!

Divs are also good, it keeps your mark-up clean.

But when it comes to displaying grids of data in divs... who the fuck decided it was time to deprecate tables!?

Anyways, you're probably here because "vertical-align: middle;" isn't working on your div. Either that or I'm back because I've forgotten how this works.

Problem is, you need to also set "line-height: ##px;".

[ Source ]

Visual Studio 2008: Microsoft Incremental Linker is buggy

Visual Studio's C++ linker is a piece of shit, or at least it is on Vista/Win7. I've been playing around with it for creating x64 apps and as LStucki mentioned, it doesn't seem like Microsoft is eating their own dog food very much.

A temporary fix for this would be to disable the embedded manifest.

  1. Project
  2. Properties
  3. Configuration Properties
  4. Manifest Tool
  5. Input and Output

Set "Embed Manifest" to "No".

Props to Juan Baez (Tux`) for that!

 
Copyright © Twig's Tech Tips
Theme by BloggerThemes & TopWPThemes Sponsored by iBlogtoBlog