Aligning content and rendering