From 1dd6960652cf53638b52db546d58a3ed0fef8d30 Mon Sep 17 00:00:00 2001 From: phamt Date: Wed, 26 Oct 2011 04:06:07 +0000 Subject: [PATCH] Fixed iframe css git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-UI/js/ui.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index 368aa8a2d..48d69e690 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -768,20 +768,19 @@ function createIFrame(src) { }); var iframe = $('').attr('src', src).css({ - 'display': 'inline-block', + 'display': 'block', 'border': '0px', 'margin': '10px', - 'width': '90%' + 'width': '100%' }); var loader = createLoader('iLoader').css({ - 'display': 'inline-block', + 'display': 'block', 'margin': '10px 0px' }); infoBar.append(icon); - infoBar.append(loader); - infoBar.append(iframe); + infoBar.append($('
').append(loader, iframe)); infoBar.append(close); // Remove loader when done