Arjun Panwar

Arjun Panwar

  • NA
  • 10.6k
  • 5.8m

Vertically align two pieces of text with different font-sizes using CSS

Mar 22 2012 12:20 AM
Hi,

At the top of my page I want to have the title of the page aligned to the left of the screen with a short nav menu aligned to the right of the screen. I can achieve this using float but the two elements have different baslines i.e. the baseline of the text appears different. Is there any way to get this to work using css?

Thanks

Answers (1)