From 5c90fae68d4e661249978e6e0eea31eb4b438dfd Mon Sep 17 00:00:00 2001 From: Jonathan Corwin Date: Mon, 23 Aug 2010 23:24:42 +0100 Subject: [PATCH] Footer and css fixes --- openlp/core/lib/htmlbuilder.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openlp/core/lib/htmlbuilder.py b/openlp/core/lib/htmlbuilder.py index b6d91176a..4ea71ee3c 100644 --- a/openlp/core/lib/htmlbuilder.py +++ b/openlp/core/lib/htmlbuilder.py @@ -177,7 +177,7 @@ body { } function show_footer(footertext){ - document.getElementById('footer').innerHTML(footertext); + document.getElementById('footer').innerHTML = footertext; } function show_text(newtext){ @@ -341,8 +341,8 @@ def build_lyrics(item): outline = u'display: none;' shadow = u'display: none;' if theme: - lyricscommon = u'width: %spx; height: %spx; word-wrap: break-word ' \ - u'font-family %s; font-size: %spx; color: %s; line-height: %d%%' % \ + lyricscommon = u'width: %spx; height: %spx; word-wrap: break-word; ' \ + u'font-family: %s; font-size: %spx; color: %s; line-height: %d%%' % \ (item.main.width(), item.main.height(), theme.font_main_name, theme.font_main_proportion, theme.font_main_color, 100 + int(theme.font_main_line_adjustment)) @@ -397,7 +397,7 @@ def build_footer(item): font-family: %s; font-size: %spx; color: %s; - align: %s; + text-align: %s; """ theme = item.themedata if not theme: @@ -423,7 +423,7 @@ def build_alert(alertTab, width): style = """ width: %s; vertical-align: %s; - font-family %s; + font-family: %s; font-size: %spx; color: %s; background-color: %s;