Ryltar
02-21-2005, 11:16 PM
Hi, I am working on a page and firefox is currently ignoring the order of the divs at the very top. This works in IE but not FF... could someone take a look at the attached code and help me figure this out...
<html>
<head>
<title>Test Page</title>
<meta name = "Description" content = "Test Page" />
<meta http-equiv = "imagetoolbar" content = "no" />
<meta http-equiv = 'content-type' content = 'text/html; charset=utf-8' />
</head>
<body onload = "window.defaultStatus = 'TESTING';" >
<div style = "padding: 0px; background-color: #ffffff; width: 762px; height: 100%; margin-left: auto; margin-right: auto;">
<div style = "background-color: #000000; width: 760px; height: 1px; vertical-align: top;">
<!-- Black Sperator -->
</div>
<div id = "BWTitle">
<a href = '/main.php' onmouseover = "statusIn('Aerospace and Engineering Home'); return true" onmouseout = "statusOut();">Olathe Northwest Aerospace and Engineering</a>
</div>
<div style = "background-color: #000000; width: 760px; height: 1px;">
<!-- Black Separator -->
</div>
<div style = "background-color: #999999; width: 760px; height: 1px;">
<!-- White Separator -->
</div>
<div id = 'topMenu'>
<a class = 'topMenuA' href = '/about.php' onmouseover = "statusIn('About'); return true" onmouseout = "statusOut();">About</a>
<a class = 'topMenuA' href = '/news.php' onmouseover = "statusIn('News/Events'); return true" onmouseout = "statusOut();">News/Events</a>
<a class = 'topMenuA' href = '/images/' onmouseover = "statusIn('Multimedia'); return true" onmouseout = "statusOut();">Multimedia</a>
<a class = 'topMenuA' href = '/staff/staff.php' onmouseover = "statusIn('Staff'); return true" onmouseout = "statusOut();">Staff</a>
<a class = 'topMenuA' href = '/links.php' onmouseover = "statusIn('Links'); return true" onmouseout = "statusOut();">Links</a>
</div>
<div style = "border: 1pt solid black; width: 759px;">
<div style = "float: left; background-color: #ffffff; width: 185px; height: 231px; verticle-align: top; text-align: center;">
<div id = 'leftMenu'>
<a class = 'mainMenu' href = '/classes/AE_CAD/' onmouseover = "statusIn('AE CAD'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE CAD</span><br /><span class = 'leftMenuSubHead'>Computer Aided Design</span></a>
<a class = 'mainMenu' href = '/classes/AE_Chem/' onmouseover = "statusIn('AE Chemistry'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Chemistry</span><br /><span class = 'leftMenuSubHead'>Chemical Engineers</span></a>
<a class = 'mainMenu' href = '/classes/AE_Math/' onmouseover = "statusIn('AE Math'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Math</span><br /><span class = 'leftMenuSubHead'>Rockets, Flyers, and Towers</span></a>
<a class = 'mainMenu' href = '/classes/AE_Physics/' onmouseover = "statusIn('AE Physics'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Physics</span><br /><span class = 'leftMenuSubHead'>The Mechanics of Things</span></a>
<a class = 'mainMenu' href = '/classes/Senior_Project/' onmouseover = "statusIn('AE Senior Project'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Senior Project</span><br /><span class = 'leftMenuSubHead'>BattleBots IQ</span></a>
</div>
</div>
<div style = "float: right; background-color: #ffffff; width: 570px; height: 231px; vertical-align: top; text-align: center;">
<a href = '/main.php' onmouseover = "statusIn('AE Home'); return true" onmouseout = "statusOut();" style = "display: block; height: 231px; width: 100%;">
<img src = '/std_images/aelogo.gif' alt = 'ONW Aerospace and Engineering Home Page' />
</a>
</div>
</div>
<!-- These three separators are the messed up ones... -->
<div style = "background-color: #000000; width: 761px; height: 1px;">
<!-- White Separator -->
</div>
<div style = "background-color: #999999; width: 761px; height: 1px;">
<!-- White Separator -->
</div>
<div style = "background-color: #000000; width: 761px; height: 1px;">
<!-- White Separator -->
</div>
<div style = "background-color: #ffffff; width: 100%; text-align: center; vertical-align: top;">
<div id = 'classHeader'>
<a class = 'classHeaderA' href = 'Sophomores' onmouseover = "statusIn('Sophomores'); return true" onmouseout = "statusOut();">Sophomores</a>
<a class = 'classHeaderA' href = 'Juniors' onmouseover = "statusIn('Juniors'); return true" onmouseout = "statusOut();">Juniors</a>
<a class = 'classHeaderA' href = 'Seniors' onmouseover = "statusIn('Seniors'); return true" onmouseout = "statusOut();">Seniors</a>
</div>
<div style = 'text-align: center; vertical-align: top; width: 100%; border: 0px; padding: 0px;'>
CONTENT GOES HERE
</div>
<div style = "height: 10px;">
<!--Spacer-->
</div>
</div>
<div style = "background-color: #999999; width: 100%; height: 1px; vertical-align: top;">
<!-- White Separator -->
</div>
<div style = "background-color: #000000; width: 100%; height: 1px; vertical-align: top;">
<!-- Black Separator -->
</div>
<div id = 'footer'>
<div id = 'footerContents'>
<strong>Index Page</strong>
<br />
Page Editor: Matt<br />
Page Last Updated: January 26, 2005<br />
<a href = '/contact.php'>Contact Us</a>
</div>
<div id = 'bottomMenu'>
<a class = 'bottomMenuA' href = '/main.php' onmouseover = "statusIn('Home'); return true" onmouseout = "statusOut();">Home</a>
<a class = 'bottomMenuA' href = '/about.php' onmouseover = "statusIn('About'); return true" onmouseout = "statusOut();">About</a>
<a class = 'bottomMenuA' href = '/news.php' onmouseover = "statusIn('News/Events'); return true" onmouseout = "statusOut();">News/Events</a>
<a class = 'bottomMenuA' href = '/images/' onmouseover = "statusIn('Multimedia'); return true" onmouseout = "statusOut();">Multimedia</a>
<a class = 'bottomMenuA' href = '/staff/staff.php' onmouseover = "statusIn('Staff'); return true" onmouseout = "statusOut();">Staff</a>
<a class = 'bottomMenuA' href = '/links.php' onmouseover = "statusIn('Links'); return true" onmouseout = "statusOut();">Links</a>
</div>
</div>
</div>
</body>
</html>
I am working on the strictness of it so that is why there is no DTD yet. Once I get this working I will add that depending on what I have to do to get it to work...
Thanks!!
<html>
<head>
<title>Test Page</title>
<meta name = "Description" content = "Test Page" />
<meta http-equiv = "imagetoolbar" content = "no" />
<meta http-equiv = 'content-type' content = 'text/html; charset=utf-8' />
</head>
<body onload = "window.defaultStatus = 'TESTING';" >
<div style = "padding: 0px; background-color: #ffffff; width: 762px; height: 100%; margin-left: auto; margin-right: auto;">
<div style = "background-color: #000000; width: 760px; height: 1px; vertical-align: top;">
<!-- Black Sperator -->
</div>
<div id = "BWTitle">
<a href = '/main.php' onmouseover = "statusIn('Aerospace and Engineering Home'); return true" onmouseout = "statusOut();">Olathe Northwest Aerospace and Engineering</a>
</div>
<div style = "background-color: #000000; width: 760px; height: 1px;">
<!-- Black Separator -->
</div>
<div style = "background-color: #999999; width: 760px; height: 1px;">
<!-- White Separator -->
</div>
<div id = 'topMenu'>
<a class = 'topMenuA' href = '/about.php' onmouseover = "statusIn('About'); return true" onmouseout = "statusOut();">About</a>
<a class = 'topMenuA' href = '/news.php' onmouseover = "statusIn('News/Events'); return true" onmouseout = "statusOut();">News/Events</a>
<a class = 'topMenuA' href = '/images/' onmouseover = "statusIn('Multimedia'); return true" onmouseout = "statusOut();">Multimedia</a>
<a class = 'topMenuA' href = '/staff/staff.php' onmouseover = "statusIn('Staff'); return true" onmouseout = "statusOut();">Staff</a>
<a class = 'topMenuA' href = '/links.php' onmouseover = "statusIn('Links'); return true" onmouseout = "statusOut();">Links</a>
</div>
<div style = "border: 1pt solid black; width: 759px;">
<div style = "float: left; background-color: #ffffff; width: 185px; height: 231px; verticle-align: top; text-align: center;">
<div id = 'leftMenu'>
<a class = 'mainMenu' href = '/classes/AE_CAD/' onmouseover = "statusIn('AE CAD'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE CAD</span><br /><span class = 'leftMenuSubHead'>Computer Aided Design</span></a>
<a class = 'mainMenu' href = '/classes/AE_Chem/' onmouseover = "statusIn('AE Chemistry'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Chemistry</span><br /><span class = 'leftMenuSubHead'>Chemical Engineers</span></a>
<a class = 'mainMenu' href = '/classes/AE_Math/' onmouseover = "statusIn('AE Math'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Math</span><br /><span class = 'leftMenuSubHead'>Rockets, Flyers, and Towers</span></a>
<a class = 'mainMenu' href = '/classes/AE_Physics/' onmouseover = "statusIn('AE Physics'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Physics</span><br /><span class = 'leftMenuSubHead'>The Mechanics of Things</span></a>
<a class = 'mainMenu' href = '/classes/Senior_Project/' onmouseover = "statusIn('AE Senior Project'); return true" onmouseout = "statusOut();"><span class = 'leftMenuHead'>AE Senior Project</span><br /><span class = 'leftMenuSubHead'>BattleBots IQ</span></a>
</div>
</div>
<div style = "float: right; background-color: #ffffff; width: 570px; height: 231px; vertical-align: top; text-align: center;">
<a href = '/main.php' onmouseover = "statusIn('AE Home'); return true" onmouseout = "statusOut();" style = "display: block; height: 231px; width: 100%;">
<img src = '/std_images/aelogo.gif' alt = 'ONW Aerospace and Engineering Home Page' />
</a>
</div>
</div>
<!-- These three separators are the messed up ones... -->
<div style = "background-color: #000000; width: 761px; height: 1px;">
<!-- White Separator -->
</div>
<div style = "background-color: #999999; width: 761px; height: 1px;">
<!-- White Separator -->
</div>
<div style = "background-color: #000000; width: 761px; height: 1px;">
<!-- White Separator -->
</div>
<div style = "background-color: #ffffff; width: 100%; text-align: center; vertical-align: top;">
<div id = 'classHeader'>
<a class = 'classHeaderA' href = 'Sophomores' onmouseover = "statusIn('Sophomores'); return true" onmouseout = "statusOut();">Sophomores</a>
<a class = 'classHeaderA' href = 'Juniors' onmouseover = "statusIn('Juniors'); return true" onmouseout = "statusOut();">Juniors</a>
<a class = 'classHeaderA' href = 'Seniors' onmouseover = "statusIn('Seniors'); return true" onmouseout = "statusOut();">Seniors</a>
</div>
<div style = 'text-align: center; vertical-align: top; width: 100%; border: 0px; padding: 0px;'>
CONTENT GOES HERE
</div>
<div style = "height: 10px;">
<!--Spacer-->
</div>
</div>
<div style = "background-color: #999999; width: 100%; height: 1px; vertical-align: top;">
<!-- White Separator -->
</div>
<div style = "background-color: #000000; width: 100%; height: 1px; vertical-align: top;">
<!-- Black Separator -->
</div>
<div id = 'footer'>
<div id = 'footerContents'>
<strong>Index Page</strong>
<br />
Page Editor: Matt<br />
Page Last Updated: January 26, 2005<br />
<a href = '/contact.php'>Contact Us</a>
</div>
<div id = 'bottomMenu'>
<a class = 'bottomMenuA' href = '/main.php' onmouseover = "statusIn('Home'); return true" onmouseout = "statusOut();">Home</a>
<a class = 'bottomMenuA' href = '/about.php' onmouseover = "statusIn('About'); return true" onmouseout = "statusOut();">About</a>
<a class = 'bottomMenuA' href = '/news.php' onmouseover = "statusIn('News/Events'); return true" onmouseout = "statusOut();">News/Events</a>
<a class = 'bottomMenuA' href = '/images/' onmouseover = "statusIn('Multimedia'); return true" onmouseout = "statusOut();">Multimedia</a>
<a class = 'bottomMenuA' href = '/staff/staff.php' onmouseover = "statusIn('Staff'); return true" onmouseout = "statusOut();">Staff</a>
<a class = 'bottomMenuA' href = '/links.php' onmouseover = "statusIn('Links'); return true" onmouseout = "statusOut();">Links</a>
</div>
</div>
</div>
</body>
</html>
I am working on the strictness of it so that is why there is no DTD yet. Once I get this working I will add that depending on what I have to do to get it to work...
Thanks!!