Jump to content

Aligning Text


nuzerog
 Share

Recommended Posts

I am making a three part header by seperating it into three columns essentially. So I set up the div tags and the css file to do this. My problem is if I use different font sizes for each column I can not get them to align on the same plane. They all seem to align according to the top of the letters and I would like them to align according to the bottom. Can anyone tell me how I can do this?ThanksHKIM

Link to comment
Share on other sites

Code would be helpful.Try setting the line heights of your divs accordingly, then give each one a vertical-align: text-baseline; property. (I think it's text-baseline, not sure, For some reason I can't get to the W3Schools website to verify that)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...