Just to make life easier in the case where Gallery2 is embedded in some other web-app, I would recommend including the following css code in the default gallery theme:
div#gallery { font-size: 1em; }
This should ensure that relatively-sized fonts don't go screwy when gallery is embedded.
Posts: 8601
thanks for the tip. what's an example of CSS outside the gallery div that could result in undesirable font sizes for the gallery content?
Posts: 16
I use the SMF to Gallery2 bridge in embedded mode. The SMF theme happens to use the code:
/* By default (td, body..) use verdana in black. */ body, td, th , tr { color: #000000; font-size: small; font-family: verdana, sans-serif; }This font-size directive then overrides several gallery2 font-size directives. Most notably in the Gallery2 themes that contain pop-up text boxes.