diff --git a/kindlecomicconverter/comic2ebook.py b/kindlecomicconverter/comic2ebook.py
index c95820c..57f30a9 100755
--- a/kindlecomicconverter/comic2ebook.py
+++ b/kindlecomicconverter/comic2ebook.py
@@ -136,7 +136,7 @@ def buildHTML(path, imgfile, imgfilepath, imgfile2=None):
"content=\"width=" + str(imgsizeframe[0]) + ", height=" + str(imgsizeframe[1]) + "\"/>\n"
"\n",
"
\n",
- "\n",
+ "
\n",
])
if options.iskindle:
# this display none div fixes formatting issues with virtual panel mode, for some reason
@@ -1075,11 +1075,6 @@ def getDirectorySize(start_path='.'):
return total_size
-def getTopMargin(deviceres, size):
- y = int((deviceres[1] - size[1]) / 2) / deviceres[1] * 100
- return str(round(y, 1))
-
-
def getPanelViewResolution(imagesize, deviceres):
scale = float(deviceres[0]) / float(imagesize[0])
return int(deviceres[0]), int(scale * imagesize[1])