473,404 Members | 2,213 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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
"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
5 9921
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
12
by: Dario | last post by:
The following simple program behaves differently in Windows and Linux . #include <stdexcept> #include <iostream> #include <string> using namespace std; class LogicError : public logic_error {...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
3
by: John Smith | last post by:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <body> <div id="navcontainer"> <ul...
6
by: tricky76 | last post by:
I am working on a site that uses CSS navcontainer, but the client would like it so that when you hover over a main section the sub sections highlight for that relevant menu option. I am pretty sure...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.