Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to vertically align text - Kevin Powell - Community
KP-C
Kevin Powell - Community
•
3y ago
•
4 replies
Matt
How to vertically align text
I
'm trying to vertically align
label
label
text within a form
. Alignment was fine until I added a fixed height to the label of
50px
50px
. Here is my codepen
-
https://codepen.io/Matt-CopOffMatt/pen/OJdLGeB
I
've tried
:
vertical-align: middle;
vertical-align: middle;
, doesn
't seem to fix my issue
.
CodePen
Matt (CopOffMatt)
OJdLGeB
.
.
.
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Vertically Align Text
KP-C
Kevin Powell - Community / front-end
3y ago
Vertically align text that is wrapping a shape
KP-C
Kevin Powell - Community / front-end
3y ago
Text align but not quite text-align
KP-C
Kevin Powell - Community / front-end
3y ago
text-align vs align-self
KP-C
Kevin Powell - Community / front-end
3y ago