diff --git a/modules/core/templates/logout-iframe.php b/modules/core/templates/logout-iframe.php
index d68f4572a2b40497fb99f2c45851e054f0dcc649..1173b5d22e99cfa8161aee8680f0c2d70dae40bc 100644
--- a/modules/core/templates/logout-iframe.php
+++ b/modules/core/templates/logout-iframe.php
@@ -130,13 +130,13 @@ if ($type === 'init') {
 <div id="confirmation" style="margin-top: 1em" >
 <p><?php echo $this->t('{logout:logout_all_question}'); ?> <br /></p>
 
-<form id="startform" method="get" action="logout-iframe.php">
+<form id="startform" method="get" style="display:inline;" action="logout-iframe.php">
 <input type="hidden" name="id" value="<?php echo $id; ?>" />
 <input type="hidden" id="logout-type-selector" name="type" value="nojs" />
 <input type="submit" id="logout-all" name="ok" value="<?php echo $this->t('{logout:logout_all}'); ?>" />
 </form>
 
-<form method="get" action="logout-iframe-done.php">
+<form method="get" style="display:inline;" action="logout-iframe-done.php">
 <input type="hidden" name="id" value="<?php echo $id; ?>" />
 <input type="submit" name="cancel" value="<?php echo $logoutCancelText; ?>" />
 </form>