This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > April 2007 > What is #navcontainer?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author What is #navcontainer?
.... www.FocusOnPanama.com ....

2007-04-14, 6:19 am

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?


Ben C

2007-04-14, 6:19 am

On 2007-04-14, .... www.FocusOnPanama.com .... <fightspam@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?
.... www.FocusOnPanama.com ....

2007-04-14, 6:19 am

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" <spamspam@spam.eggs> wrote in message
news:slrnf21933.7bg.spamspam@bowser.marioworld...
> On 2007-04-14, .... www.FocusOnPanama.com .... <fightspam@mailbox.now>
> wrote:
>
> No. You must be missing something, perhaps navlist is inside
> navcontainer?



Els

2007-04-14, 6:18 pm

..... www.FocusOnPanama.com .... wrote:
> "Ben C" <spamspam@spam.eggs> wrote in message
> news:slrnf21933.7bg.spamspam@bowser.marioworld...
[color=darkred]
> 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/
.... www.FocusOnPanama.com ....

2007-04-14, 6:18 pm

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@tiscali.nl> wrote in message
news:g3b8odg4mejz.11sj9kmrpb654.dlg@40tude.net...
> .... www.FocusOnPanama.com .... wrote:
>
>
> 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/



John Hosking

2007-04-14, 6:18 pm

Please don't top-post.

..... www.FocusOnPanama.com .... wrote:

> "Els" <els.aNOSPAM@tiscali.nl> wrote in message
> news:g3b8odg4mejz.11sj9kmrpb654.dlg@40tude.net...
>
[color=darkred]

[color=darkred]
> 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
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews