[UPHPU] More CSS frustration
Jacob Wright
jacwright at gmail.com
Mon Jan 15 09:56:05 MST 2007
>
> Vertical centering is not supported (enough to use it) in CSS (yet).
>
You'll have to use margins or padding to put the header in the right place.
/*====== title bar ===== */
#header {
padding: 5px;
background-color: #333399;
color: #FFFFFF;
height: 30px; /* reduce to account for the extra 20px of padding being
added to the top */
padding-top: 25px; /* add extra padding on the top to push your text down
to the center, probably need to adjust this number. */
}
Or something similar.
--
Jacob Wright
Within Code LLC
More information about the UPHPU
mailing list