aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin <ar18@comcast.net>2007-12-14 05:47:49 +0000
committerKevin <ar18@comcast.net>2007-12-14 05:47:49 +0000
commita675133540d4a012147a368dfc9d42e91609a693 (patch)
tree1137d11910103881a5a6d5bf1cad8f63bcd650d8
parent9b73b39f6fbf987acbbe6570d557d13f07c7e0f7 (diff)
IE Menu Problem...
Originally, I included CSS hacks for IE. However, my comments before the doctype was the reason IE was running in non-strict mode. I did not know this. When Chris removed the comments, IE correctly went into strict mode and my IE hacks were no longer needed (the hacks were getting in the way now). solution: *) Make sure doctype is first on all files *) removed all IE hacks from menu.css (since the doctype issue fixes IE) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45025 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--www/clang_video-05-25-2007.html2
-rw-r--r--www/clang_video-07-25-2007.html2
-rw-r--r--www/comparison.html2
-rw-r--r--www/index.html2
-rw-r--r--www/menu.css36
-rw-r--r--www/menu.html.incl2
6 files changed, 19 insertions, 27 deletions
diff --git a/www/clang_video-05-25-2007.html b/www/clang_video-05-25-2007.html
index e8e9c3d344..eb04761a93 100644
--- a/www/clang_video-05-25-2007.html
+++ b/www/clang_video-05-25-2007.html
@@ -1,5 +1,5 @@
-<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
diff --git a/www/clang_video-07-25-2007.html b/www/clang_video-07-25-2007.html
index 8dccc6f380..53959ef367 100644
--- a/www/clang_video-07-25-2007.html
+++ b/www/clang_video-07-25-2007.html
@@ -1,5 +1,5 @@
-<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
diff --git a/www/comparison.html b/www/comparison.html
index 99a1adea3b..0fb5043ea1 100644
--- a/www/comparison.html
+++ b/www/comparison.html
@@ -1,6 +1,6 @@
-<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
+<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
diff --git a/www/index.html b/www/index.html
index 647b768293..4fa9d61fee 100644
--- a/www/index.html
+++ b/www/index.html
@@ -1,6 +1,6 @@
-<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
+<!-- Material used from: HTML 4.01 specs: http://www.w3.org/TR/html401/ -->
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
diff --git a/www/menu.css b/www/menu.css
index 1784a9d994..0ecc74e4b1 100644
--- a/www/menu.css
+++ b/www/menu.css
@@ -2,42 +2,34 @@
/* page layout */
/***************/
-/***IE***/
-#menu {
- float:left;
-}
-#content {
- float:left;
- margin-left:1ex;
-}
-/***W3C***/
[id=menu] {
position:fixed;
}
[id=content] {
- /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */
- padding-left:16ex;
+ /* ***** EDIT THIS VALUE IF CONTENT OVERLAPS MENU ***** */
+ padding-left:16ex;
}
/**************/
/* menu style */
-/**************/
-
-#menu .submenu {
- padding-top:1em;
- display:block;
-}
+/**************/
+
+#menu .submenu {
+ padding-top:1em;
+ display:block;
+}
#menu label {
- display:block;
- font-weight: bold;
+ display:block;
+ font-weight: bold;
text-align: center;
- background-color: rgb(192,192,192);
+ background-color: rgb(192,192,192);
}
#menu a {
- display:block;
+ padding:0 .2em;
+ display:block;
text-align: center;
- background-color: rgb(235,235,235);
+ background-color: rgb(235,235,235);
}
#menu a:visited {
color:rgb(100,50,100);
diff --git a/www/menu.html.incl b/www/menu.html.incl
index 04bb6ae5fb..1f9380928f 100644
--- a/www/menu.html.incl
+++ b/www/menu.html.incl
@@ -10,7 +10,7 @@
<a href="comparison.html">Comparisons</a>
<a href="get_started.html">Get&nbsp;Started</a>
<a href="get_involved.html">Get&nbsp;Involved</a>
- <a href="http://clang.llvm.org/docs/InternalsManual.html">clang&nbsp;Internals</a>
+ <a href="http://clang.llvm.org/docs/InternalsManual.html">Clang&nbsp;Internals</a>
</div>
<div class="submenu">