diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-01-20 09:16:38 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-01-20 09:16:38 +0000 |
commit | 7c14149f55c8f48ca24786f97f7abed4e55804b1 (patch) | |
tree | 93129dcfec22a9571a2694080655ce5f0eadda72 /BKUOnline/src/main | |
parent | 6247246a5656f9bb69dfe52cc7f2047b9ec3806e (diff) | |
download | mocca-7c14149f55c8f48ca24786f97f7abed4e55804b1.tar.gz mocca-7c14149f55c8f48ca24786f97f7abed4e55804b1.tar.bz2 mocca-7c14149f55c8f48ca24786f97f7abed4e55804b1.zip |
CSS for appletpage
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@261 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main')
-rw-r--r-- | BKUOnline/src/main/webapp/appletPage.jsp | 14 | ||||
-rw-r--r-- | BKUOnline/src/main/webapp/css/applet.css | 16 |
2 files changed, 19 insertions, 11 deletions
diff --git a/BKUOnline/src/main/webapp/appletPage.jsp b/BKUOnline/src/main/webapp/appletPage.jsp index e1bb6e21..8a21e4ec 100644 --- a/BKUOnline/src/main/webapp/appletPage.jsp +++ b/BKUOnline/src/main/webapp/appletPage.jsp @@ -24,6 +24,8 @@ <title>MOCCA Applet</title> <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon"> <script type="text/javascript" src="js/deployJava.js"></script> + <style type="text/css" media="all">@import "css/applet.css";</style> + <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="EXPIRES" CONTENT="Mon, 22 Jul 2002 11:12:01 GMT"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> @@ -38,12 +40,7 @@ String hashDataDisplay = (String) session.getAttribute("appletHashDataDisplay"); String locale = (String) session.getAttribute("locale"); %> - <body style="background:#ffffff;padding:0;margin:0;border-style: none;width:<%=width%>"> - <!--width:<%=width%>px;margin:auto;--> - <!--<div style="display: table; height: <%=height%>px; #position: relative; overflow: hidden;border: thin solid green;"> - <div style=" #position: absolute; #top: 50%;display: table-cell; vertical-align: middle;"> - <div style=" #position: relative; #top: -50%"> ---> + <body id="appletpage" style="width:<%=width%>"> <script> if (!deployJava.versionCheck('1.6.0_04+')) { document @@ -72,10 +69,5 @@ deployJava.runApplet(attributes, parameters, version); } </script> - <!-- - </div> - </div> - </div> - --> </body> </html> diff --git a/BKUOnline/src/main/webapp/css/applet.css b/BKUOnline/src/main/webapp/css/applet.css new file mode 100644 index 00000000..4bfbd77d --- /dev/null +++ b/BKUOnline/src/main/webapp/css/applet.css @@ -0,0 +1,16 @@ + +root { + display: block; +} + +body { + background: #ffffff; + /*background-image: url(../img/mocca-t_s.png);*/ + padding: 0; + margin: 0; + border-style: none; + /* + width:<%=width%> + */ +} + |