DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSS
center text inside a div
text-align: center; vertical-align: middle; line-height: 90px; /* The same as your div height */
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#center
#text
#div
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit