Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-16-2008, 12:19 PM   PM User | #1
mikexavier
New to the CF scene

 
Join Date: Oct 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
mikexavier is an unknown quantity at this point
horizontal menu displays vertically in IE

I built this site for my mechanic a while ago, and about a week ago IE started displaying the menu vertically instead of horizontally?

I haven't touched anything on the site for ages so have no idea why this would have changed all of a sudden.

If someone can please take a look I'd really appreciate it...

www.atozimports.com.au

Works fine in Firefox, chrome, netscape and "sort of ok" in Opera.

If you need more info just let me know.

Thanks
mikexavier is offline   Reply With Quote
Old 10-16-2008, 12:34 PM   PM User | #2
rangana
Senior Coder

 
rangana's Avatar
 
Join Date: Feb 2008
Location: Cebu City, Philippines
Posts: 1,752
Thanks: 65
Thanked 372 Times in 365 Posts
rangana will become famous soon enoughrangana will become famous soon enough
Hi Mike,

First of all, Welcome on board.

Your problem is highlighted:
Code:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5736719-1");
pageTracker._trackPageview();
</script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Anything, above the doctype, pushes ie into Quirksmode.

Place it anywhere on the page, except above the doctype, but I suggest to place it before the closing of the body tag (</body>), as what GA, instructed.

Hope that helps.
__________________
Learn how to javascript at 02geek

The more you learn, the more you'll realize there's much more to learn
Ray.ph
rangana is offline   Reply With Quote
Users who have thanked rangana for this post:
mikexavier (10-16-2008)
Old 10-16-2008, 01:02 PM   PM User | #3
mikexavier
New to the CF scene

 
Join Date: Oct 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
mikexavier is an unknown quantity at this point
Thanks for taking a look Rangana.

I moved

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5736719-1");
pageTracker._trackPageview();
</script>

to just before the closing of the body tag, uploaded the index file, refreshed IE but it's still displaying the same.

Any other ideas?
mikexavier is offline   Reply With Quote
Old 10-16-2008, 01:09 PM   PM User | #4
mikexavier
New to the CF scene

 
Join Date: Oct 2008
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
mikexavier is an unknown quantity at this point
Hey Rangana, checked through the rest of the site for:

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-5736719-1");
pageTracker._trackPageview();
</script>

I had it on another page for some reason? After deleting it, we're back to normal

Thanks for pointing it out, can't believe how fast you responded!
mikexavier is offline   Reply With Quote
Reply

Bookmarks

Tags
display, explorer, horizontal, menu, vertical

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:34 AM.


Advertisement
Log in to turn off these ads.