Text drops down a line when centering text vertically, when using a div to do so and minimizing the page |
Text drops down a line when centering text vertically, when using a div to do so and minimizing the page |
bumpercrop |
Aug 27 2013, 06:50 AM
Post
#1
|
Novice Group: Members Posts: 29 Joined: 21-February 13 Member No.: 18,700 |
I've had this issue before where when I center text vertically in a <div> using
(for example) height: 50px; line-height: 50px; When you minimize the page using ctrl - the entire page scales down, but for some reason some of the words in the single line sentence drop down 50px to the next line. Why is that? And how would one prevent it from happening? This post has been edited by bumpercrop: Aug 27 2013, 06:52 AM |
Lo-Fi Version | Time is now: 27th April 2024 - 12:56 PM |