2 replies [Last post]
gautamz07
gautamz07's picture
Offline
Enthusiast
Last seen: 6 years 10 weeks ago
Timezone: GMT+5.5
Joined: 2014-04-24
Posts: 265
Points: 403

any good reason, why people add the following global style :

vertical-align:middle

Its critical for me to know as i always come accross such stuff .

thanks .

gautam.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 1 year 38 weeks ago
Dallas
Timezone: GMT-6
Joined: 2004-06-25
Posts: 9776
Points: 3858

Because

They haven't a clue? If you don't have a compelling reason to change the defaults, don't. Global resets are simply stupid, and like the definition of porn, have no socially redeeming value.

cheers,

gary

If your web page is as clever as you can make it, it's probably too clever for you to debug or maintain.

VeeraM
VeeraM's picture
Offline
Enthusiast
bangalore
Last seen: 7 years 6 weeks ago
bangalore
Timezone: GMT+5.5
Joined: 2014-09-22
Posts: 59
Points: 59

vertical align on images

Hi the vertical align images or text are moved in small spaces to remove example website kindly visit this website this is an sample http://www.w3schools.com/cssref/playit.asp?filename=playcss_vertical-align&preval=middle