summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--page.tmpl20
1 files changed, 17 insertions, 3 deletions
diff --git a/page.tmpl b/page.tmpl
index e1ee543..780e4e4 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -16,11 +16,25 @@
<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>
-<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
+<link rel="stylesheet" href="<TMPL_VAR BASEURL>nn4.css" type="text/css" media="screen" />
+<!--link before import prevents Flash Of Unstyled Content in ie6pc -->
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>real.css");</style>
+<!-- import with quotes and brackets hides css from:
+Netscape 4.x
+Win IE 3
+Win IE 4
+Mac IE 4.01
+Mac IE 4.5
+Konqueror 2.1.2
+Win Amaya 5.1
+isn't that nice to know? -->
+<!-- Source of above: http://www.thenoodleincident.com/tutorials/typography/ -->
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>style.css");</style>
<TMPL_IF LOCAL_CSS>
-<link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>");</style>
<TMPL_ELSE>
-<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
+<style type="text/css" media="screen">@import url("<TMPL_VAR BASEURL>local.css");</style>
+<TMPL_IF NAME="EDITURL">
</TMPL_IF>
<TMPL_IF EDITURL>
<link rel="alternate" type="application/x-wiki" title="Redigér denne side" href="<TMPL_VAR EDITURL>" />