CSS/Javascript header looking good in IE6,7,8 & FF

We are trying to get the header on this page:

https://nlpca.infusionsoft.com/cart/store.jsp?skinId=19

to look like the header here:

shop.nlpca.com

in all browsers and with no errors. Also, many of our images are broken

We're using infusionsoft, a marketing company and software. I've attached our main code except for the footer and some of the body that is generated by infusionsoft.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" lang="_LANGUAGE" xml:lang="_LANGUAGE">
<head>
<meta http-equiv="Content-Type" content="text/html; _ISO" />
  <base href="http://shop.nlpca.com/" />
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <meta name="robots" content="index, follow" />
  <meta name="keywords" content="NLP Books, NLP Book, NLP CD, NLP Courses DVD" />
  <meta name="title" content="NLP Books | NLP Book | NLP CD | NLP Courses DVD" />
  <meta name="author" content="Administrator" />
  <meta name="description" content="NLPCA's book shop carries a variety of the best NLP Books. Each NLP book or NLP CD gives you access to the newest NLP technology. More NLP Course DVDs are coming soon." />

  <meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
  <title>NLP Books | NLP Book | NLP CD | NLP Courses DVD</title>
  <link href="https://www.shop.nlpca.com/templates/nlpcashop/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  <script type="/text/javascript" src="https://www.shop.nlpca.com/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="https://www.shop.nlpca.com/media/system/js/caption.js"></script>

<link rel="shortcut icon" href="https://www.shop.nlpca.com/favicon.ico" />
<link href="http://shop.nlpca.com/templates/nlpcashop/css/template.css" rel="stylesheet" type="text/css" />
<link href="http://shop.nlpca.com/templates/nlpcashop/css/menu.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="https://www.shop.nlpca.com/templates/nlpcashop/js/moomenu.js"></script>
<script type="text/javascript" src="https://www.shop.nlpca.com/templates/nlpcashop/js/mootools.bgiframe.js"></script>

<script type="text/javascript">
window.addEvent('domready', function() {
	new Ijmoomenu($E('ul.menu'), {
		bgiframe: 0,
		delay: 500,
		animate: {
			props: ['opacity', 'width', 'height'],
			opts: {
				duration: 500,
				fps: 150,
				transition: Fx.Transitions.Expo.easeOut			}
		}
	});
});
</script>

<!--[if lte IE 6]>
<link rel="stylesheet" type="text/css" href="/templates/nlpcashop/css/ie.css" />
<link href="/templates/nlpcashop/css/pngfix.css" media="screen" rel="stylesheet" type="text/css" />  
<![endif]-->

</head>

<body>



<div id="container">

<div id="header">
    
    <div id="css-menu" class="moomenu">	
						<ul class="menu"><li id="current" class="active item1"><a href="http://shop.nlpca.com/"><span>Shop Home</span></a></li><li class="item76"><a href="http://www.nlpca.com"><span>NLP California</span></a></li><li class="item74"><a href="http://www.thewealthymind.com" target="_blank"><span>The WealthyMind</span></a></li><li class="item75"><a href="http://nlpcacenterpoint.ning.com/" target="_blank"><span>NLP Center Point</span></a></li></ul>					
		<div style="clear:both;"></div>

	</div>

</div>

<div id="left">
<div id="leftmenu">
<a href="http://shop.nlpca.com"><span id="logo"></span></a>
		<div class="module_menu">
			<div>
				<div>
					<div>
											<ul class="menu"><li class="item20"><a href="http://www.shop.nlpca.com//dvds.html"><span>DVDs</span></a></li><li class="item71"><a href="http://www.shop.nlpca.com/audio.html"><span>Audio</span></a></li><li class="item72"><a href="http://www.shop.nlpca.com/books.html"><span>Books</span></a></li><li class="item73"><a href="http://www.shop.nlpca.com/contact.html"><span>Contact</span></a></li></ul>					</div>

				</div>
			</div>
		</div>
	
</div>
<a href="http://www.nlpca.com"><span id="nlpcahome"></span></a>
		<div class="module">
			<div>
				<div>
					<div>

														</div>
				</div>

			</div>
		</div>
	
</div>


<div id="content-left">

 <table class="contentpaneopen">

Open in new window

LVL 7
weikelbobAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
The code that you have posted is not exactly the code on the page you're talking about.  The code on the page is not formatted correctly.
0
 
weikelbobAuthor Commented:
What specifically is wrong with the code on the page?
0
 
Dave BaldwinFixer of ProblemsCommented:
Several things are out of place.  If you click on your link above and 'View Source', you will see that it doesn't match what you posted above.  That link for 'jquery' shouldn't be there at all because apparently 'jquery' and 'mootools' don't play well together.  The large section of CSS starting at line 123 should be in the <head> section of your document.  And that "Powered By" at the end of the file is outside the document boundaries.
0
 
ashley2009Connect With a Mentor Commented:
i just want to add that:

I agree with others. The page structure is wrong. generally an HTML page's structure would be like:
<html>
  <head>
    <title>Hello HTML</title>
<script type="text/javascript" src="/js/jquery/jquery.js"></script>
<script type="/text/javascript" src="https://www.shop.nlpca.com/media/system/js/mootools.js"></script>
  <script type="text/javascript" src="https://www.shop.nlpca.com/media/system/js/caption.js"></script>
<link href="http://shop.nlpca.com/templates/nlpcashop/css/template.css" rel="stylesheet" type="text/css" />

<link href="http://shop.nlpca.com/templates/nlpcashop/css/menu.css" rel="stylesheet" type="text/css" />

<style type="text/css">
#div1{
color:black;
}
</style>
  </head>
  <body>
    <p>Hello World!</p>
  </body>
</html>


Note: in between the head section, one is supposed to put js code files' address. In your case, jquery's link is before <!DOCType...

For HTML file layout, please visit wikipedia: http://en.wikipedia.org/wiki/HTML

And also Mootools and jquery does not work together; however, it is possible to have both jquery and mootool, but one has to access methods/properties by following some standards. One of the article that may help you is:

http://davidwalsh.name/jquery-mootools

If you follow the above documentation or any other standard documentation, your problem should be solved.
0
 
weikelbobAuthor Commented:
Thank you. I decided that this project was beyond me. I don't know why it was producing the out of place javascript
0
All Courses

From novice to tech pro — start learning today.