[cfe-commits] r45025 - in /cfe/trunk/www: clang_video-05-25-2007.html clang_video-07-25-2007.html comparison.html index.html menu.css menu.html.incl

Kevin ar18 at comcast.net
Thu Dec 13 21:47:51 PST 2007


Author: kevin
Date: Thu Dec 13 23:47:49 2007
New Revision: 45025

URL: http://llvm.org/viewvc/llvm-project?rev=45025&view=rev
Log:
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)

Modified:
    cfe/trunk/www/clang_video-05-25-2007.html
    cfe/trunk/www/clang_video-07-25-2007.html
    cfe/trunk/www/comparison.html
    cfe/trunk/www/index.html
    cfe/trunk/www/menu.css
    cfe/trunk/www/menu.html.incl

Modified: cfe/trunk/www/clang_video-05-25-2007.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/clang_video-05-25-2007.html?rev=45025&r1=45024&r2=45025&view=diff

==============================================================================
--- cfe/trunk/www/clang_video-05-25-2007.html (original)
+++ cfe/trunk/www/clang_video-05-25-2007.html Thu Dec 13 23:47:49 2007
@@ -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" />

Modified: cfe/trunk/www/clang_video-07-25-2007.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/clang_video-07-25-2007.html?rev=45025&r1=45024&r2=45025&view=diff

==============================================================================
--- cfe/trunk/www/clang_video-07-25-2007.html (original)
+++ cfe/trunk/www/clang_video-07-25-2007.html Thu Dec 13 23:47:49 2007
@@ -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" />

Modified: cfe/trunk/www/comparison.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/comparison.html?rev=45025&r1=45024&r2=45025&view=diff

==============================================================================
--- cfe/trunk/www/comparison.html (original)
+++ cfe/trunk/www/comparison.html Thu Dec 13 23:47:49 2007
@@ -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" />

Modified: cfe/trunk/www/index.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/index.html?rev=45025&r1=45024&r2=45025&view=diff

==============================================================================
--- cfe/trunk/www/index.html (original)
+++ cfe/trunk/www/index.html Thu Dec 13 23:47:49 2007
@@ -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" />

Modified: cfe/trunk/www/menu.css
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/menu.css?rev=45025&r1=45024&r2=45025&view=diff

==============================================================================
--- cfe/trunk/www/menu.css (original)
+++ cfe/trunk/www/menu.css Thu Dec 13 23:47:49 2007
@@ -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);

Modified: cfe/trunk/www/menu.html.incl
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/menu.html.incl?rev=45025&r1=45024&r2=45025&view=diff

==============================================================================
--- cfe/trunk/www/menu.html.incl (original)
+++ cfe/trunk/www/menu.html.incl Thu Dec 13 23:47:49 2007
@@ -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">





More information about the cfe-commits mailing list