Ted, try generating the gallery with one of the default (built-in) themes. If it displays well in Firefox, then the issue is that some theme editing you have performed introduces the display anomaly in Firefox. It would be useful if you could tell us which particular edit is the culprit so we can prevent...