More IE problems

This is a discussion on "More IE problems" within the Web Page Design section. This forum, and the thread "More IE problems are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 6th, 2006, 12:41
Junior Member
Join Date: Sep 2006
Location: Scotland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Question More IE problems

I have my dropdown menu working, in Firefox and Opera at least. In IE the submenus do not drop down/pop out.

I have followed (i think) the instructions in the sticky tutorial regarding this problem.
I downloaded the csshover.htc file
I have the
body{
behaviour: url(csshover.htc);

}
code in a file called ieonly.css, and
I have the following code in the html <head> tags (although I'm not sure where exactly it should go: before or after the link to the main stylesheet)
<!--[if lte IE 6]>
<link href="ieonly.css" rel="stylesheet" type="text/css" />
<![endif]-->


Have I missed something out?

The css file is here http://www.footballscotland.hazlenet.net/dropdown.css

The webpage is here http://www.footballscotland.hazlenet.net/dropdown.htm

The only heading that has all the menu levels is "Teams"
The colours are temporary. They helped me keep track of the different menu
levels when I was building it.

Thanks

Last edited by mojo67; Oct 6th, 2006 at 19:05. Reason: had incomplete code in post
Reply With Quote

  #2 (permalink)  
Old Oct 6th, 2006, 13:32
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,730
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: More IE problems

behaviour: url(csshover.htc is incorrect. Did that just get chopped off here or is that how it is actually written?

Should be: behavior:url("csshover.htc");
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #3 (permalink)  
Old Oct 6th, 2006, 14:15
Junior Member
Join Date: Sep 2006
Location: Scotland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: More IE problems

It did actually have the bracket and semi-colon in the file - I had chopped it off in the post. I added the " " round csshover.htc, but it didn't make any difference
Reply With Quote
  #4 (permalink)  
Old Oct 6th, 2006, 18:11
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: More IE problems

This is what you should have. Note the spelling.
Code: Select all
body {
     behavior: url(csshover.htc);
}
Quotes are not required.

BTW. Both your links pull up the css file.
Reply With Quote
  #5 (permalink)  
Old Oct 6th, 2006, 18:15
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,730
Blog Entries: 1
Thanks: 0
Thanked 16 Times in 16 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: More IE problems

If its the same one I use the file may actually be named incorrectly which is how it comes. You may want to check that too. Just dawned on me.
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #6 (permalink)  
Old Oct 6th, 2006, 19:09
Junior Member
Join Date: Sep 2006
Location: Scotland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: More IE problems

Thanks
Changing the spelling of "behaviour" to "behavior" did the trick.....almost. The only bit that doesn't work is the colour does not change when the menu items are hovered over. Any idea how to fix this.

The htm link in my original post is now fixed.
Reply With Quote
  #7 (permalink)  
Old Oct 6th, 2006, 22:13
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: More IE problems

Your css is totally over the top and with out looking too deep I suspect there are conflicts.

Go back and have another look at the tutorial. The css is a lot simpler than what you have.
Reply With Quote
  #8 (permalink)  
Old Oct 9th, 2006, 07:18
Junior Member
Join Date: Sep 2006
Location: Scotland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: More IE problems

I have cleaned up the css a bit. Hope it's a bit clearer now. If there is anything else I can do to it please let me know. Doing this cleared up another problem I had, but I still can't get the menus to change on hover in IE.

Any help is much appreciated

html - http://www.footballscotland.hazlenet.net/dropdowntest.htm

css - http://www.footballscotland.hazlenet...opdowntest.css

Last edited by mojo67; Oct 9th, 2006 at 07:21. Reason: added new links
Reply With Quote
  #9 (permalink)  
Old Oct 9th, 2006, 17:14
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: More IE problems

The reason it doesn't work in IE is because this code in your ieonly.css file is wrong. This is not where your file is located.
Code: Select all
body{
  behavior: url(../../csshover.htc);
  }
Get rid of the 6 characters in bold before the 'csshover.htc'.

Noticed in your css file:
Code: Select all
font-family: "microsoft sans serif"; verdana, arial, sans-serif;
The ; after "microsoft sans serif" should be a ,
Reply With Quote
  #10 (permalink)  
Old Oct 9th, 2006, 20:28
Junior Member
Join Date: Sep 2006
Location: Scotland
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: More IE problems

Thanks for your help Geoff. I've made those changes, but the colours still do not change in IE. It's not a huge problem as the drop downs work in IE it's just the colour changing that is the problem
Reply With Quote
Reply

Tags
menus

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
IE Problems AndrewChip Web Page Design 9 Dec 29th, 2007 14:35
IE7 problems... Gooner Starting Out 17 Aug 21st, 2007 13:02
Problems with IE etoare Web Page Design 5 Jun 14th, 2007 20:40
Having some problems, with IE and FF Powderhound Web Page Design 10 Oct 25th, 2006 22:12
IE/FF Problems adamas85 Web Page Design 3 Apr 21st, 2006 01:51


All times are GMT. The time now is 04:17.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43