Jump to content

text in middle of my div


dj kim
 Share

Recommended Posts

HelloI tried to sort out this problem fo hours now and I don't get it! :) It shouldn't realy be a big problem but anyway... :) I have a div-tag with a defined height and inside some text. I want to have this text in the vertical middle of the div tag. vertical-align:middle is not good because its only working in relations with other inline elements and not relative to its parent block-element.Anybody a suggestions?Would realy apreciate your help

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...