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
diff --git a/www/clang_video-05-25-2007.html b/www/clang_video-05-25-2007.html
index e8e9c3d..eb04761 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 8dccc6f..53959ef 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 99a1ade..0fb5043 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 647b768..4fa9d61 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 1784a9d..0ecc74e 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 04bb6ae..1f93809 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 Started</a>
<a href="get_involved.html">Get Involved</a>
- <a href="http://clang.llvm.org/docs/InternalsManual.html">clang Internals</a>
+ <a href="http://clang.llvm.org/docs/InternalsManual.html">Clang Internals</a>
</div>
<div class="submenu">