By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,057 Members | 1,346 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,057 IT Pros & Developers. It's quick & easy.

What is #navcontainer?

P: n/a
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?
Apr 14 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On 2007-04-14, .... www.FocusOnPanama.com .... <fi*******@mailbox.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
"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?
Apr 14 '07 #2

P: n/a
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

Emilio

"Ben C" <sp******@spam.eggswrote in message
news:sl*********************@bowser.marioworld...
On 2007-04-14, .... www.FocusOnPanama.com .... <fi*******@mailbox.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?

Apr 14 '07 #3

P: n/a
Els
..... www.FocusOnPanama.com .... wrote:
"Ben C" <sp******@spam.eggswrote in message
news:sl*********************@bowser.marioworld...
>On 2007-04-14, .... www.FocusOnPanama.com .... <fi*******@mailbox.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="navcontainer">. #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/
Apr 14 '07 #4

P: n/a
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" <el*********@tiscali.nlwrote in message
news:g3****************************@40tude.net...
.... www.FocusOnPanama.com .... wrote:
>"Ben C" <sp******@spam.eggswrote in message
news:sl*********************@bowser.marioworld. ..
>>On 2007-04-14, .... www.FocusOnPanama.com .... <fi*******@mailbox.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="navcontainer">. #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/

Apr 14 '07 #5

P: n/a
Please don't top-post.

..... www.FocusOnPanama.com .... wrote:
"Els" <el*********@tiscali.nlwrote in message
news:g3****************************@40tude.net...
>>.... www.FocusOnPanama.com .... wrote:
>>>Take a look at:

http://css.maxdesign.com.au/listamatic2/vertical09.htm
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#navcontainer 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
Apr 14 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.