[OPEN-ILS-GENERAL] Table colors on new TPAC?
Galen Charlton
gmc at esilibrary.com
Tue Oct 30 17:25:25 EDT 2012
Hi,
On Tue, Oct 30, 2012 at 5:13 PM, Galen Charlton <gmc at esilibrary.com> wrote:
> Finally, rather than changing base.tt2, you can accomplish this using
> just CSS by setting margin: auto and a width for the top-level divs
> immediately under the body element, including #header-wrap,
> #gold-links-holder, the search form, #content-wrapper, and
> #footer-wrap.
And better yet, you can center the page without having to specify a
fixed width (thereby breaking the liquidity of the layout) by just
specifying percentages for the right and left margins, e.g.,
#header-wrap {
margin-left: 10%;
margin-right: 10%
}
#gold-links-holder {
margin-left: 10%;
margin-right: 10%
}
#search-wrapper {
margin-left: 10%;
margin-right: 10%
}
/* and this is need on the results page instead of
the margins for #search-wrapper; this is probably a bug
*/
#gold-links-holder + form {
margin-left: 10%;
margin-right: 10%
}
#content-wrapper {
margin-left: 10%;
margin-right: 10%
}
#footer-wrap {
margin-left: 10%;
margin-right: 10%
}
Regards,
Galen
--
Galen Charlton
Director of Implementation
Equinox Software, Inc. / The Open Source Experts
email: gmc at esilibrary.com
direct: +1 770-709-5581
cell: +1 404-984-4366
skype: gmcharlt
web: http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org &
http://evergreen-ils.org
More information about the Open-ils-general
mailing list