What is #navcontainer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • .... www.FocusOnPanama.com ....

    What is #navcontainer?

    I am a bit confused now that I looked at Listamatic, there they define the
    ID of the enclosing navigation DIV as "navlist" but the CSS defines a class
    "navcontain er" and yet somehow even though they are not the same all seems
    to work that way, but if you rename navcontainer to something else (given
    that the DIV ID is not that one either) then all hell breaks loose.

    Is #navcontainer some sort of default class used by all browsers?


  • Ben C

    #2
    Re: What is #navcontainer?

    On 2007-04-14, .... www.FocusOnPanama.com .... <fightspam@mail box.nowwrote:
    I am a bit confused now that I looked at Listamatic, there they define the
    ID of the enclosing navigation DIV as "navlist" but the CSS defines a class
    "navcontain er" and yet somehow even though they are not the same all seems
    to work that way, but if you rename navcontainer to something else (given
    that the DIV ID is not that one either) then all hell breaks loose.
    >
    Is #navcontainer some sort of default class used by all browsers?
    No. You must be missing something, perhaps navlist is inside
    navcontainer?

    Comment

    • .... www.FocusOnPanama.com ....

      #3
      Re: What is #navcontainer?

      Nope, unless my eyes are deceving me. I looked at the example and the actual
      source of the page displaying the instructions and can't see it. Take a look
      at:



      Emilio

      "Ben C" <spamspam@spam. eggswrote in message
      news:slrnf21933 .7bg.spamspam@b owser.marioworl d...
      On 2007-04-14, .... www.FocusOnPanama.com .... <fightspam@mail box.now>
      wrote:
      >I am a bit confused now that I looked at Listamatic, there they define
      >the
      >ID of the enclosing navigation DIV as "navlist" but the CSS defines a
      >class
      >"navcontaine r" and yet somehow even though they are not the same all
      >seems
      >to work that way, but if you rename navcontainer to something else (given
      >that the DIV ID is not that one either) then all hell breaks loose.
      >>
      >Is #navcontainer some sort of default class used by all browsers?
      >
      No. You must be missing something, perhaps navlist is inside
      navcontainer?

      Comment

      • Els

        #4
        Re: What is #navcontainer?

        ..... www.FocusOnPanama.com .... wrote:
        "Ben C" <spamspam@spam. eggswrote in message
        news:slrnf21933 .7bg.spamspam@b owser.marioworl d...
        >On 2007-04-14, .... www.FocusOnPanama.com .... <fightspam@mail box.now>
        >wrote:
        >>I am a bit confused now that I looked at Listamatic, there they define
        >>the
        >>ID of the enclosing navigation DIV as "navlist" but the CSS defines a
        >>class
        >>"navcontainer " and yet somehow even though they are not the same all
        >>seems
        >>to work that way, but if you rename navcontainer to something else (given
        >>that the DIV ID is not that one either) then all hell breaks loose.
        >>>
        >>Is #navcontainer some sort of default class used by all browsers?
        >>
        >No. You must be missing something, perhaps navlist is inside
        >navcontainer ?
        Nope, unless my eyes are deceving me. I looked at the example and the actual
        source of the page displaying the instructions and can't see it. Take a look
        at:
        >
        http://css.maxdesign.com.au/listamatic2/vertical09.htm
        I think it's your eyes ;-)
        The first line below "HTML" says "<div id="navcontaine r">. #navlist is
        not the enclosing div as you said, but the ul itself.

        I think you are confusing CSS with HTML; on that page, the CSS does
        not define #navcontainer.

        --
        Els http://locusmeus.com/
        accessible web design: http://locusoptimus.com/

        Comment

        • .... www.FocusOnPanama.com ....

          #5
          Re: What is #navcontainer?

          Then that DIV declaration of navcontainer in the HTML is useless because
          (and that is my original question) I do not see any reference to it in the
          CSS. Given that the CSS already has a block for the UL element which
          contains everything it needs, or not?

          Emilio

          "Els" <els.aNOSPAM@ti scali.nlwrote in message
          news:g3b8odg4me jz.11sj9kmrpb65 4.dlg@40tude.ne t...
          .... www.FocusOnPanama.com .... wrote:
          >"Ben C" <spamspam@spam. eggswrote in message
          >news:slrnf2193 3.7bg.spamspam@ bowser.mariowor ld...
          >>On 2007-04-14, .... www.FocusOnPanama.com .... <fightspam@mail box.now>
          >>wrote:
          >>>I am a bit confused now that I looked at Listamatic, there they define
          >>>the
          >>>ID of the enclosing navigation DIV as "navlist" but the CSS defines a
          >>>class
          >>>"navcontaine r" and yet somehow even though they are not the same all
          >>>seems
          >>>to work that way, but if you rename navcontainer to something else
          >>>(given
          >>>that the DIV ID is not that one either) then all hell breaks loose.
          >>>>
          >>>Is #navcontainer some sort of default class used by all browsers?
          >>>
          >>No. You must be missing something, perhaps navlist is inside
          >>navcontaine r?
          >
          >Nope, unless my eyes are deceving me. I looked at the example and the
          >actual
          >source of the page displaying the instructions and can't see it. Take a
          >look
          >at:
          >>
          >http://css.maxdesign.com.au/listamatic2/vertical09.htm
          >
          I think it's your eyes ;-)
          The first line below "HTML" says "<div id="navcontaine r">. #navlist is
          not the enclosing div as you said, but the ul itself.
          >
          I think you are confusing CSS with HTML; on that page, the CSS does
          not define #navcontainer.
          >
          --
          Els http://locusmeus.com/
          accessible web design: http://locusoptimus.com/

          Comment

          • John Hosking

            #6
            Re: What is #navcontainer?

            Please don't top-post.

            ..... www.FocusOnPanama.com .... wrote:
            "Els" <els.aNOSPAM@ti scali.nlwrote in message
            news:g3b8odg4me jz.11sj9kmrpb65 4.dlg@40tude.ne t...
            >
            >>.... www.FocusOnPanama.com .... wrote:
            >>
            Then that DIV declaration of navcontainer in the HTML is useless because
            (and that is my original question) I do not see any reference to it
            in the
            CSS. Given that the CSS already has a block for the UL element which
            contains everything it needs, or not?
            I believe you're overlooking the starting premise of the menus on
            Listamatic. They start off with some basic markup, and make it do
            different tricks with CSS. If you study some of the other lists, you'll
            find that some make styling use of div#navcontaine r and some do not.

            Yes, I'd agree that "Blue Boxes" (vertical09) does not need to be
            contained by #navcontainer. But then if you wanted to style it like
            "Classic Greys" (http://css.maxdesign.com.au/listamatic2/vertical10.htm)
            you'd need to add the div.

            --
            John

            Comment

            Working...