Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-09-17
5
Medium Priority
?
461 Views
Last Modified: 2012-05-10
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

0
Comment
Question by:weikelbob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 1000 total points
ID: 33706511
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
 
LVL 7

Author Comment

by:weikelbob
ID: 33706559
What specifically is wrong with the code on the page?
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 33706605
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
 
LVL 3

Assisted Solution

by:ashley2009
ashley2009 earned 1000 total points
ID: 33706951
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
 
LVL 7

Author Closing Comment

by:weikelbob
ID: 33836183
Thank you. I decided that this project was beyond me. I don't know why it was producing the out of place javascript
0

Featured Post

Not sure which OpenStack Certification to get?

So you’ve realized you might want to get certified in OpenStack, but you’re not sure what the benefits might be or even which one you should take. You know there are several certification courses you can choose from, but how do you know which one is right for you?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question