Code:
<HEAD><TITLE></TITLE><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><STYLE type="text/css">
/*End Menu Links*/
</STYLE><SCRIPT src="mmenu.js" type="text/javascript"></SCRIPT><SCRIPT src="menuItems.js" type="text/javascript">
/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/
</SCRIPT><STYLE type="text/css">
</STYLE><BODY><DIV id="menu1" onmouseover="movein(this);" onmouseout="moveout(this);" STYLE='top: 150px; left: 0px'><DIV STYLE='left: -141px'><TABLE><TBODY><TR><TD class="heading" colspan="2">Menu</TD><TD id="menu1bar" rowspan="12"><BR/>S<BR/>I<BR/>D<BR/>E<BR/> <BR/>M<BR/>E<BR/>N<BR/>U<BR/>*</TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com" target="">Dynamic Drive</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/new.htm" target="">What's New</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/hot.htm" target="">What's Hot</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/forums" target="">Message Forum</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/submitscript.htm" target="">Submit Script</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/link.htm" target="">Link to Us</A></TD></TR><TR><TD colspan="1"><A href="http://www.dynamicdrive.com/faqs.htm" target="">FAQ</A></TD><TD colspan="1"><A href="http://www.dynamicdrive.com/contact.htm" target="">Email</A></TD></TR><TR><TD class="heading" colspan="2">External Links</TD></TR><TR><TD colspan="2"><A href="http://www.javascriptkit.com" target="_new">JavaScript Kit</A></TD></TR><TR><TD colspan="2"><A href="http://www.freewarejava.com" target="_new">Freewarejava</A></TD></TR><TR><TD id="menu1lastrow" colspan="2"><A href="http://www.codingforums.com" target="_new">Coding Forums</A></TD></TR></TABLE></DIV></DIV><STYLE type="text/css">
#menu2 {
top:0;
left:45%;
position:fixed;
overflow:visible;
z-index:100;
}
#menu2 div {
border-width:0ex 0ex 0ex 0ex; /*Menu's outer border*/
border-style:solid;
border-color:lightblue;
position:absolute;
color:black;
background-color:transparent;
}
#menu2 table { /*Overall font for Menu*/
border:2px dashed lightblue; /*Menu's inner border*/
border-left-width:0;
border-bottom-width:0;
font-family:verdana, sans-serif;
font-size:80%;
border-collapse:collapse;
background-color:transparent;
width:18.75em;
}
#menu2 td { /*Characteristics for cells in the menu table - do not specify width here*/
border-bottom:2px dashed lightblue;
border-left:2px dashed lightblue;
height:1.563em;
padding:0;
margin:0;
text-align:left;
}
#menu2 #menu2bar { /*Characteristics for initially visible 'draw' bar (the vertical cell)*/
height:1.875em;
background-color:darkcyan;
color:white;
font-weight:bold;
text-align:center;
cursor:default;
}
#menu2 .heading { /*Characteristics for heading cells in the menu table*/
height:1.953em;
color:white;
font-weight:bold;
text-indent:1ex;
background-color:#777777; /*Background Color for menu headings */
width:16.406em; /*This will be the menu body width. This plus #menu2bar width and 2 times the border width should also be the menu table's approximate width*/
vertical-align:middle;
text-align:left;
border-left-color:#777777;
border-left-style:solid;
}
#menu2 a {
width:100%;
height:100%;
display:block;
padding-top:0.234em;
}
</STYLE><DIV id="menu2" onmouseover="movein(this);" onmouseout="moveout(this);" STYLE='width: 225px; margin-left: -113px'><DIV STYLE='width: 225px; top: -239px'><TABLE><TBODY><TR><TD class="heading" colspan="3">Hot Sites</TD></TR><TR><TD colspan="3"><A href="http://www.loisimages.com" target="_new">Lois Images</A></TD></TR><TR><TD colspan="3"><A href="http://www.statestreetbluesstroll.com/" target="_new">State Street Blues</A></TD></TR><TR><TD colspan="3"><A href="http://www.mediajazzbynight.com/" target="_new">Media Jazz by Night</A></TD></TR><TR><TD colspan="3"><A href="http://www.dynamicdrive.com/forums" target="_new">DD Help Forum</A></TD></TR><TR><TD class="heading" STYLE='width: 10.94em' colspan="2">Search</TD><TD class="heading" STYLE='width: 5.47em; border-left-width: 0; margin-left: 2px' colspan="1">Search</TD></TR><TR><TD colspan="1"><A href="http://www.google.com/" target="_new">Google</A></TD><TD colspan="1"><A href="http://www.yahoo.com/" target="_new">Yahoo</A></TD><TD colspan="1"><A href="http://www.altavista.com/" target="_new">AltaVista</A></TD></TR><TR><TD class="heading" colspan="3">Personal</TD></TR><TR><TD colspan="3"><A href="http://home.comcast.net/~ansiguy" target="_new">Ansi Art Gallery</A></TD></TR><TR><TD colspan="3"><A href="http://home.comcast.net/~jscheuer1/side" target="_new">John's Javascript Jungle</A></TD></TR><TR><TD id="menu2bar" colspan="3">M Y * M E N U</TD></TR></TABLE></DIV></DIV><STYLE type="text/css">
#menu3 {
top:150px; /*set initial Height from top*/
position:absolute;
overflow:hidden;
z-index:100;
}
#menu3 div {
border-width:0; /*Menu's outer border*/
border-style:none;
border-color:none;
position:absolute;
color:black;
background-color:transparent;
}
#menu3 table { /*Overall font for Menu*/
border:1px solid black; /*Menu's inner border*/
font-family:verdana, sans-serif;
font-size:80%;
border-collapse:collapse;
background-color:black;
width:13.672em;
}
#menu3 td { /*Characteristics for cells in the menu table - do not specify width here*/
border-bottom:1px solid black;
border-left:1px solid black;
height:1.25em;
padding:0;
margin:0;
text-align:left;
}
#menu3 #menu3bar { /*Characteristics for initially visible 'draw' bar (the vertical cell)*/
width:1.875em;
background-color:#444444;
color:white;
font-weight:bold;
text-align:center;
border-width:0;
cursor:default;
}
#menu3 .heading { /*Characteristics for heading cells in the menu table*/
height:1.719em;
color:white;
font-weight:bold;
text-indent:1ex;
background-color:#170088; /*Background Color for menu headings */
width:11.641em; /*This will be the menu body width. This plus #menu3bar width and 2 times the border width should also be the menu table's approximate width*/
vertical-align:middle;
text-align:left;
border-left-color:#170088;
border-left-style:solid;
}
#menu3 #menu3lastrow {
border-bottom-width:0;
margin:0 0 1px 1px;
}
#menu3 a {
width:100%;
height:100%;
display:block;
padding-top:0em;
}
</STYLE><DIV id="menu3" onmouseover="movein(this);" onmouseout="moveout(this);" STYLE='width: 24px; height: 203px; top: 150px; left: 981px'><DIV STYLE='right: -140px'><TABLE><TBODY><TR><TD id="menu3bar" rowspan="12"><BR/>R<BR/>I<BR/>G<BR/>H<BR/>T<BR/> <BR/>M<BR/>E<BR/>N<BR/>U<BR/>*</TD><TD class="heading" colspan="2">Menu</TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com" target="">Dynamic Drive</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/new.htm" target="">What's New</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/hot.htm" target="">What's Hot</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/forums" target="">Message Forum</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/submitscript.htm" target="">Submit Script</A></TD></TR><TR><TD colspan="2"><A href="http://www.dynamicdrive.com/link.htm" target="">Link to Us</A></TD></TR><TR><TD colspan="1"><A href="http://www.dynamicdrive.com/faqs.htm" target="">FAQ</A></TD><TD colspan="1"><A href="http://www.dynamicdrive.com/contact.htm" target="">Email</A></TD></TR><TR><TD class="heading" colspan="2">External Links</TD></TR><TR><TD colspan="2"><A href="http://www.javascriptkit.com" target="_new">JavaScript Kit</A></TD></TR><TR><TD colspan="2"><A href="http://www.freewarejava.com" target="_new">Freewarejava</A></TD></TR><TR><TD id="menu3lastrow" colspan="2"><A href="http://www.codingforums.com" target="_new">Coding Forums</A></TD></TR></TABLE></DIV></DIV>
<DIV STYLE='position: absolute; height: 1em; width: 1em; top: -2em; left: -2em' id="ontextresizeTestDiv"></DIV>
That is the contents reported by Opera 9(innerHTML of <html>).
Thepoint isn't that it won't validate. The point is that a browser could choose not to interpret the style info if it is in the <body>.
Note: I had to cut out some CSS to make the post limit
Bookmarks