Visit the GED-GEN website!

Cascading Style Sheets

A Cascading Style Sheet (CSS) allows you to better specify the layout of your web pages. GED-GEN creates its own CSS file that is referenced by all generated web pages. The name of the file is base.css, but the name will include the file prefix you specified on the Attributes tab.

If you have your own CSS files, you can use them with GED-GEN web pages. Specify their names on the Attributes tab under External Cascading Style Sheet (CSS). A description of the content, format and use of CSS files is beyond the scope of this help information. You can obtain more information about CSS at www.w3.org On the WWW.

Your CSS files will be referenced via <link> elements immediately after the GED-GEN CSS file. This means you can override any settings in the GED-GEN CSS file as well as incorporate your own styles. Since the GED-GEN CSS file is automatically generated, you should not modify it. Your changes would be overwritten the next time you generate web pages.

Many HTML elements in GED-GEN web pages include a CLASS attribute. If you want to change the way GED-GEN displays one of these elements, simply override the class in your own CSS file. For instance to change the style of the Surname page title, simply add a gg-title class in your own CSS file. If you look in base.css, gg-title is defined as:

.gg-title { text-align:center; font-size:200% }

You could change it by adding gg-title to your own CSS file and changing your definition to:

.gg-title { text-align:left; font-size:150% }

The following table summarizes the class attributes used by GED-GEN, which are defined in its external CSS file. Use it as a guide in overriding any styles. GED-GEN styles are prefixed with gg- to avoid conflicts with your own class names.

CLASS Usage
body.gg-body The <BODY> of each generated web page.
.gg-bar
.gg-bar.mt
.gg-bar.mb
.gg-bar.tt
.gg-cbar
The plain line divider bars: A medium thickness bar (top and bottom), a thin bar (top only), and a line that separates the most common surnames on the Surnames page.
.gg-tbar
.gg-bbar
.gg-kbar
.gg-nbar
The image divider bars: Top and bottom for page-level dividers, and thick and thin for group sheet dividers.
.gg-title
.gg-subtitle
.gg-famtitle
The title and subtitle appearing on the surname, index, bibliography and repository pages and the title appearing on the family pages.
.gg-sur
.gg-idx
.gg-fam
.gg-bib
.gg-rep
The main text areas of the surname, index, family, bibliography and repository pages.
.gg-lbl
.gg-date
Aligns labels (e.g., Born, Married, ...) and date fields on the group sheet when a proportional font is used.
.gg-bio
.gg-nar
.gg-lblrel
.gg-rel
.gg-imp
.gg-grp
.gg-grpimg
.gg-indimg
.gg-cap
Custom features: Biography link, narrative link, the label that emphasizes a child when relationship text is used, the relationship text, imported text area, family group image area, family group image, individual image, and the caption appearing under images.
.gg-idxjmp
.gg-idxlet
.gg-idxnav
Jump tabs at the top of each index page, the index tab letters and the "prior" and "next" links that navigate between index pages.
.gg-secmost
.gg-secchild
The "Most Common Surnames" section title and the "Children" section title.
.gg-isec
.gg-ipmt
.gg-ievt
.gg-inote
The "Additional Information" section: gg-isec is the section title; gg-ipmt is the subsection prompt, usually a person's name; gg-ievt is an event that appears under the prompt; gg-inote is the text style for research notes and marriage notes.
.gg-ftsec
.gg-ftnote
The "Footnotes" section: gg-ftsec is the section title; gg-ftnote is the footnote text.
.gg-lnksur
.gg-lnkidx
.gg-lnkfam
.gg-lnkbib
.gg-lnkrep
The navigation links that appear at the bottom of each surname, index, family, bibliography and repository web page.
.gg-bibent
.gg-bibtxt
.gg-bibcmt
.gg-bibevt
.gg-bibagt
.gg-bibdta
.gg-bibrep
.gg-bibref
.gg-bibchg
.gg-bibnav
Bibliography page. Each item in a bibliography entry can be formatted separately: The main entry line, source text, comments, events, agency, data notes, repository citation, user reference, change date, and inter-page navigation links.
.gg-repent
.gg-repcmt
.gg-repadr
.gg-reptel
.gg-repfax
.gg-repeml
.gg-repweb
.gg-repref
.gg-repchg
.gg-repnav
Repository page. Each item in a repository entry can be formatted separately: The main entry line, comments, address, phone, FAX, E-Mail, website, user reference, change date and inter-page navigation links.
.gg-rev
.gg-copy
The "Revised" line and the "Copyright" line that appear at the bottom of each web page.

GED-GEN

Revised: January 8, 2007
Copyright © 2001-2007 Mike Voisin. All rights reserved.