[UPHPU] vertical centering values inconsistant
mac at macnewbold.com
Mon Apr 12 17:13:28 MDT 2004
Today at 11:57am, Wade Preston Shearer said:
>Anyone know why "center" is used to center something vertically when
>using 'background-position' and "middle" is used when using
>I am curious is there was some logic behind the inconsistency that I am
>This isn't a big issue. I am just curious.
My best guess: The "inconsistency" was intentional to avoid ambiguity.
Horziontal align: left center right
Vertical align: top middle bottom
If they used center for both, it could create confusion, and it only takes
a one-letter typo to do a completely wrong thing ("align"<=>"valign").
Just my opinion... don't know the real reason for sure.
Mac Newbold MNE - Mac Newbold Enterprises, LLC
mac at macnewbold.com http://www.macnewbold.com/
More information about the UPHPU