Jump to content

Aligning Text


nuzerog

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...