Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    aic
    aic is offline
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Trouble with Horz Nav Bar in ie7 and 8

    Hi,
    I have a horz nav bar that works in FireFox, but not in ie7 and ie8.
    (I got ie6 to work pretty well) I'm using conditional comments.

    ie7
    I have some gaps between the lists, and when I scroll over "our work"
    I can only go 2 levels down, and then it disappears, so I can access those links.

    ie8
    has same problem with going beyond 2 levels and it disappears so you can't access those links.

    Here are the urls:
    http://www.artistic-impressions.com/nav/index-2.php
    http://www.artistic-impressions.com/nav/css/ie7.css
    http://www.artistic-impressions.com/nav/css/ie8.css

    Any help would be greatly appreciated

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    You have some errors in your markup, get them fixed first, see http://validator.w3.org/check?uri=ht...Inline&group=0
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    aic
    aic is offline
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok it all validates, it didn't have anything to do with the nav bar. I'm going to keep trying but I keep going in circles right now

    Here are the urls:
    http://www.artistic-impressions.com/nav/index-3.php
    http://www.artistic-impressions.com/nav/css/ie7.css
    http://www.artistic-impressions.com/nav/css/ie8.css

    Any help would be greatly appreciated

  • #4
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Um.. your nesting of list items is not proper. I'd remove all those conditional comments and use the son of suckerfish drop down(check the proper nesting there) method
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #5
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello aic,
    Like ab says, your ul menu is not formed right.
    The validator shows you the error - http://validator.w3.org/check?verbos...%2findex-2.php
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #6
    aic
    aic is offline
    New to the CF scene
    Join Date
    Oct 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So I tried to implement the suckerfish menu.

    -So their menu has consistent widths and that doesn't work for this menu.
    -I tried to add classes to get the widths different, but I could only get it to work for the top level.
    -I don't seem to be able to get the red on the menu bar for most every browser but ie7 and ie6.
    -I'm not sure how to get the links all on one line. so for example, donation center | is on two lines.
    -Hey, but I got the drop downs to finally work, and I took out the conditional comments

    -What about the issue of not having javascript enabled on all browsers?

    Here are my urls:
    http://www.artistic-impressions.com/nav/index-6.php
    http://www.artistic-impressions.com/...plate-CHFe.css

    I validated in both css and html.

    Thanks in advance for your help

  • #7
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,861
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    -I tried to add classes to get the widths different, but I could only get it to work for the top level.
    You may set the required width specifically like
    Code:
    .ul-2 ul{
    width:10em;
    }
    .ul-3 ul{
    width:11em;
    }
    -I'm not sure how to get the links all on one line. so for example, donation center | is on two lines.
    It's due to the widths applied at
    Code:
    #nav a {/*Template-CHFe.css (line 76)*/
    display:block;
    font-family:arial,helvetica,sans-serif;
    font-size:11px;
    font-size-adjust:none;
    font-stretch:normal;
    font-style:normal;
    font-variant:normal;
    font-weight:bold;
    line-height:16px;
    width:7em;
    }
    Try removing or changing it.

    -What about the issue of not having javascript enabled on all browsers?
    That code should work in all standard browsers like FF,Safar,Opera etc. The javascript fix is just for IE6.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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