The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Text drops down a line when centering text vertically, when using a div to do so and minimizing the page
bumpercrop
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 12:56 PM