At first I just want to have a simple horizontal navigation bar…
I’ve made a file on Pastebin… I must honestly admit that I’ve been working for 2 months on the project “horizontal navigation” bar and I’m really desperate now and want to give up ….
but I try to get my help here, maybe :/
Here’s my Pastepin file, who isn’t pasted in everything! just the important facts about the navigation bar, included the css file, but there’s no javascript file inside, it’s not so important I think:
I don’t get the css properties and I don’t get why there’s a space between the nav elements, and I ALSO DONT GET on which Element of the nav bar I’ve to use the css..
I just want to have a simple navigation bar, width a nav-wrapper of a high width of 1000px (depending on the screen size working with jquery, not important here) in this nav-wrapper should be 5 elements, on which open a div element underneath with a width of 100%, where I could put in for example pictures, also not important (not a submenu, I hope you understand what I mean)
But I don’t know what I have to do to get this element by hovering the list element :/ and is css in this code always right use, I don’t want (how I’ve already descriped) to have space between the elements.. I would be so happy so happy if somebody could help me and write me the right code ? (ps if you change for example a li element to div id=”li” it doesn’t work anymore ?
Here are my codes:
HTML:[url]http://pastebin.com/S2b9mNcM
CSS:[url]http://pastebin.com/KmXrNbWh
I know it’s much but I really work so long on this I don’t get it :/