Jump to content

Recommended Posts

Posted

I'm having trouble centering text vertically in a div. It always seems to be pushed down. I used "w3-display-middle" which is close but not perfectly centered. 

Posted

What does your current HTML look like?

Vertical centering can be done in a few different ways depending on the situation.

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
×
×
  • Create New...