Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Simple Navbar Problem in IE6+7

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32597
    llyrbermo
    Member

    Hi
    First, a disclaimer. I’m quite new to this coding Iark. I know IE6 and IE7 are rubbish and should/will be scrapped…….but!

    I hope if I can get my head around a problem that I’m sure is quite simple to solve, but is causing me a right old headache. Once understood I’ll be able to produce simple enough websites without having to bother you with IE6 and 7 again!

    So, here is the simple webpage in question http://www.arbofioneglur.co.uk/cyllidcymru/
    (the language is Welsh if you’re wondering)

    Simple stuff, old school I suppose, does the job in Firefox et al, but the Nav Bar goes very weird in IE6 and 7. Something to do with box model, or floats etc methinks, but can’t get to the bottom of it.

    Any help will be much appreciated.

    Diolch/Thanks

    Llyr

    #47364
    Anonymous
    Inactive

    Easy fix! You just need to float your list items along with your anchors.

    Just add this bit of code to your stylesheet:

    ul#llywio li {
    float: left;
    }
    #47352
    chanman
    Member

    Try to add this code to your list element.

    ul#li {
    display: inline;
    }
    #47353
    Anonymous
    Inactive

    @chanman Unfortunately that’s not cross browser compatible. Actually, I believe it’s not supported in IE6 and IE7… the two browsers he’s troubleshooting for! :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.