www.webdeveloper.com
Results 1 to 6 of 6

Thread: Nav probs in IE - I'm stumped this time

  1. #1
    Join Date
    Feb 2004
    Posts
    44

    Nav probs in IE - I'm stumped this time

    Can anyone else figure this out. I reconstructed my menu to be horizontal. Somehow I lost my IE fix along the way. I have tried to fix my CSS, HTML, and even the fix, with no luck. Any help would be appreciated. Thanks.

    page:
    www.freewebs.com/kentuckyweightlifting/

    css:
    http://www.freewebs.com/kentuckyweig...ing/styles.css

  2. #2
    Join Date
    Dec 2002
    Location
    Manchester, UK
    Posts
    6,276
    What the hell is going on with that DTD?

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
    					"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    Just pick one and stick with it. Just glancing at your code I'd ditch both of those mashed together DTD's and go for an HTML 4.01 Strict.

    I'm guessing that your menu isn't working in IE because you don't have any JavaScript to tell the menus when to show and when not to.

    While I'm at it, this script tag:

    Code:
    <script language="JavaScript" type="text/javascript"></script>
    Needs to be fixed:

    Code:
    <script type="text/javascript"><!--
    
    //There's nothing in here!!!
    
    //--></script>
    Now onto your styles:

    Code:
    <style type="text/css" media="all"> @import "styles.css";</style>
    <link href="/styles.css" rel="stylesheet" type="text/css">
    One question, why? You've imported your style sheet, now why not just leave it at that?

    Edit: Your e-mail link is buggered, it should look like this:

    Code:
    <a href="mailto:spowell_40@hotmail.com?subject=Kentucky Weightlifting" title="Email about a Kentucky Weightlifting or webpage-related issue">email me</a>
    Last edited by David Harrison; 04-20-2004 at 07:48 PM.
    Every fight is a food fight when you’re a cannibal.

  3. #3
    Join Date
    Feb 2004
    Posts
    44

    Question

    Hey thanks for the help. Unfortunately I still can't get the menu to work. I don't quite understand how java could be the problem. This is crazy, I had it working in my vertical menu.

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    This, behavior: url('CSSNavIEHover.htc');, makes the menu work in IE. Check it out.

  5. #5
    Join Date
    Feb 2004
    Posts
    44
    I've already got that behavior in my css. It's under the #nav li

  6. #6
    Join Date
    Feb 2004
    Posts
    44
    nevermind, I fixed it. I simply had to use a different fix.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles