diff --git a/chrome/content/zotero/bibliography.js b/chrome/content/zotero/bibliography.js
index c3846a14d2..5a7b5b940a 100644
--- a/chrome/content/zotero/bibliography.js
+++ b/chrome/content/zotero/bibliography.js
@@ -45,7 +45,7 @@ var Zotero_File_Interface_Bibliography = new function() {
function init() {
// Set font size from pref
// Affects bibliography.xul and integrationDocPrefs.xul
- Zotero.setFontSize(document.documentElement);
+ Zotero.setFontSize(document.getElementById("zotero-bibliography-container"));
if(window.arguments && window.arguments.length) {
_io = window.arguments[0];
diff --git a/chrome/content/zotero/integration/integrationDocPrefs.xul b/chrome/content/zotero/integration/integrationDocPrefs.xul
index 4f47d8960c..a3f9f60dae 100644
--- a/chrome/content/zotero/integration/integrationDocPrefs.xul
+++ b/chrome/content/zotero/integration/integrationDocPrefs.xul
@@ -42,33 +42,34 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
- &zotero.integration.prefs.bookmarks.caption;
-
-
+
+
+
+
+
+
+
-
- &zotero.integration.prefs.storeReferences.caption;
-
+
+
+
+
+
+
+
+
+ &zotero.integration.prefs.bookmarks.caption;
+
+
+
+
+ &zotero.integration.prefs.storeReferences.caption;
+
+
\ No newline at end of file