You really have to give better info than that. If you cannot be bothered to copy and paste the relevant code from your site, why, and how, do you expect anyone to help you?
You are right of course:
I have three stylesheets that control the dropdown. It was a pre-made code i downloaded and then tried to compress into one css file without succes.
This is just the CSS definitions of the layout. I would need an example of the list code in the html file to make sense of it. Unfortunately, I cannot assist further than that. I would have thought that would be documented where you got the CSS from. Also, I would suspect that you need separate CSS files, but without the code, I'm not certain of that.
Ok, I've worked through it, and you simply cannot do this with CSS. It has to be done in JavaScript, or a similar programming language. Here is an example:
1. Set up a simple two level unordered list in HTML:
The example I've given works, but jumps about because the second level entries are interspersed between the first level ons. You really want to segregate them. Only I found that just linking the first level entries to the javascript does not work well like that. The problem is that you have to link the first level entries to make the second level appear, but as you mouse off the first level to the second, the entries disappear! The solution I've found is to link the second level as well. So the HTML code becomes:
Dear, JavaScript is NOT a programming language!
It is just a client-side scripting language!
I think that comment is not helpful. A client-side scripting language IS a programming language. By the way, I've written extensive code (in the past) in MSDOS batch language TSX script and a little in VAX and Alpha script. Client-side scripting languages are almost as old as digital computing itself.
It would seem I can't find out how to make this menu horizontal. The usual way is not working, so I'm not making the right path - or is javascript preventing me somehow?
Bookmarks