The only shrink-to-content I can find with CSS is float, which opens up a whole different can of worms.