diff --git a/static/dbjs/icons.css b/static/dbjs/icons.css
new file mode 100644
index 0000000000000000000000000000000000000000..c41315342ea27acb0fc454d652eef39fd1db5114
--- /dev/null
+++ b/static/dbjs/icons.css
@@ -0,0 +1,15 @@
+.icon-grid {
+	background-image:url('../extjs/resources/icons/fam/grid.png');
+}
+.add {
+	background-image:url('../extjs/resources/icons/fam/add.gif');
+}
+.option {
+	background-image:url('../extjs/resources/icons/fam/plugin.gif');
+}
+.remove {
+	background-image:url('../extjs/resources/icons/fam/cross.gif');
+}
+.save {
+	background-image:url('../extjs/resources/icons/fam/save.gif');
+}
diff --git a/views/applayout.html b/views/applayout.html
index 5891315633b2b39840d4047ed64b101c4492f084..b532278a36bb73d286e9acbe194790d0bc5a8362 100644
--- a/views/applayout.html
+++ b/views/applayout.html
@@ -15,23 +15,7 @@
         <script type="text/javascript" src="{{=URL(r=request,c='static/dbjs',f='combobox.js')}}"></script>
         <script type="text/javascript" src="{{=URL(r=request,c='static/dbjs',f='entryform.js')}}"></script>
         <script type="text/javascript" src="{{=URL(r=request,c='static/dbjs',f='vieweditgrid.js')}}"></script>
-		<style type="text/css">
-            .icon-grid {
-                background-image:url({{=URL(r=request,c='static/extjs/resources/icons/fam',f='grid.png')}}) !important;
-            }
-			.add {
-                background-image:url({{=URL(r=request,c='static/extjs/resources/icons/fam',f='add.gif')}}) !important;
-            }
-            .option {
-                background-image:url({{=URL(r=request,c='static/extjs/resources/icons/fam',f='plugin.gif')}}) !important;
-            }
-            .remove {
-                background-image:url({{=URL(r=request,c='static/extjs/resources/icons/fam',f='cross.gif')}}) !important;
-            }
-            .save {
-                background-image:url({{=URL(r=request,c='static/extjs/resources/icons/fam',f='save.gif')}}) !important;
-            }
-        </style>
+		<link rel="stylesheet" type="text/css" href="{{=URL(r=request,c='static/dbjs',f='icons.css')}}"/>
     </head>
     <body>
         <div id="header"></div>