the reason you have so many subscribers is: not only are you an awesome instructor BUT you also make your screen big enough to SEE what you're doing; even on a mobile device... other programmer instructors please take notice...!!! Excellent video!!!!
When you need to search on youtube because your college teacher want you to do a site that uses it even though he never really told you how things even work.
When you've been there and done that already and are instead doing independent study, except now you don't have to pay for someone else to tell you to look it up. x)
I can't find a good and clear tutorial about HTML dropdown and I only got a 2 days deadline before I pass my project. Man you actually saved me from my grade 11 thesis thanks a lot, keep it up.
many have been called for the teaching but few have been chosen to give out the real content as far as online tutorial is concerned, THANK YOU SIR DANI
Great tutorial. Many thanks. What worked better for me, though, was giving 'position: relative' to 'nav ul' instead of 'nav ul li'. It helped me with positioning the drop down part of the navbar which has 'position: absolute'.
Thank You!! Excellent tutorial on this topic. I had already muddled through and created one with information I gleaned from several web sights. Yours much more logically put together and aligns much nicer than mine. I had to use negative px padding in spots to get mine to line up correctly. I successfully played with "transition: all 500ms ease;" in the "nav ul li" and "nav ul li a" styles to soften the movement of the mouse along the menu. Setting the height in the main to 'auto' will auto adjust the nav height should the browser window get scrunched in the Y-direction.
Can you put a dropdown menu inside of a dropdown menu? When you hover over the nav bar, and the first dropdown menu appears, can you then hover over that dropdown menu to get another dropdown menu?
A lot of 'ul', 'li' 'ul', 'li' 'a', 'ul', li's to keep track of. That's why div's are preferable. Otherwise, very clever. Now I have to figure out how to add the hover feature to all of the menu items.
@@janasokolovic2496 he likely does, in a shared Google Drive folder, that is made available by subscribing to his Patreon account, or now "joining" his TH-cam Channel.
I have seen around 10 diff top listed videos And yours is the best now I dont need to watch anyone else’s video to understand styling drop down menus Best teaching skills
thank you so much brother, im just teaching myself html5, css and stuff and this was really confusing me till i watched this video your an absolute legend.
I had to use "display: inline;" on the "li" to get the links to flow horizontally, other wise they would float left but still be vertical on top of eachother. Can someone explain?
Think of every element in your page as boxes. display: block = boxes(elements) in your page are stacked vertically display: inline = boxes(elements) in your page are stacked inline/horizontal HTML elements that aren't inline elements use display:block as default, so you have to change their display type to inline if you want to display them horizontally.
First of all, your tutorials are amazing and really helpful! When trying to write this code Upon moving the cursor onto the drop down menu the background color is not changing. Can you please let me know if i have made a mistake somewhere? Here's my CSS code: *{ margin:0; padding:0; } body{ background-image: url(IMG/bg.jpeg); } nav{ width: 100%; background-color: white; height:60px } nav p{ font-family: impact; font-size:50px; line-height: 30px; float: left; padding: 10px 20px; } nav ul{ float:left; list-style-type: none; } nav ul li{ float: left; list-style-type: none; position:relative; } nav ul li a{ display:block; font-family: helvetica; font-size:20px; padding: 20px 35px; text-decoration: none; } nav ul li ul{ display:block; position: absolute; background-color: white; } nav ul li ul li a{ padding: 8px 30px; } nav ul li ul li a: hover { background-color: #999; } here's my HTML code:
DESIGN ENCLOSURE Home Services Digital Marketing Logo development Product Photography
Thank you a lot man! I have been struggling to do it myself, and as I am still inexperienced, I used bunch of divs and id's and whatnot, and it was a complete mess when I have tried achieving hover effect correctly. Your video has shown me parent->child relationship pretty clearly and simple and now I have completed my task for college successfully and I feel so happy now! c:
How can I add a logo instead of a text in the line above the ? I want to do this with CSS as background in the top left corner but somehow it does not work.
Perhaps a bit quick for a beginner like me. The copy and paste at times were confusing, especially when a whole section is copied and then 95% of it deleted as only one line was required. Other than that, it is a most informative video.
Thank you so much for doing this tutorial! It by far was the easiest to follow and I'm very happy to say, I am able to get the exact results I was looking for.
You're amazing thank you, I really like how you explain how the whole HTML and CSS work while building the drop-down menu and the reason why you've added those values. Cheers
can this work on a navigation bar which has been centered on the webpage instead of float:left;? my drop down menu is not going vertically but horizontally instead and its not directly underneath as well :(
Thank you very much for the thorough, concise and working tutorial! After watching about 9 other videos that quite didint work for some reason, everything in yours did! Thank you again!
Really Glad I can do this! Thanks! One thing though, a slightly lighter background image would make it easier to see the black letters in the dropdown menu before they get a white dropdown background.
something I understood when you said it, but perhaps not 10 mins later. I would need a worked example with comments in it. I would probably mess it up trying to make it responsive. But I enjoyed your instruction style.
thank you thank you thank you! I was trying to make one for ages, and finally managed to make a sticky dropdown with this! Your commentary was extremely helpful! I am looking at various tutorials to make this responsive, any tips?
hey thank you so much! i appreciate you not declaring any IDs or Classes, it makes it much easier to understand what each part needs to be stylized with what!
Im learning to code a website and this was super helpful, a great walkthrough with tons of info but it will just take time to learn it all. Thanks a ton!
Thank you so much for these great tutorials, I have learned a lot watching your videos. I can`t get rid of one problem though: If I add a background color to the dropdown menu, the background color covers the header and the "portfolio"-txt disappears.
Thanks for this awesome video why I am calling this awesome is because it is not only written at a quick pace but just every single thing is explained and if we want to just change something it is said that it is your preference. I got a lot, thank you for making this video, your style of teaching is like my teachers who always explains everything he teaches
Thank you very much for your hardwork in explaining it very well. Its my 1st time learning css but i understood it immediately. But, you forgot to show us how to put the arrow for the drop down
I didn't see any way to download the image for a down chevron to indicate a drop-down menu in the above comments. I also didn't see how to incorporate it into the HTML code to have it next to that particular hyperlink in your video tutorial. All in all, however, your tutorials are very informative and I greatly appreciate you making them. I haven't gotten through all of them yet, but I am making my way through all of them. Thank you for taking the time to make these videos and for being very informative.
Curious if theres a way to make a drop down menu thats to the side the only way i cant think to describe what i mean is kinda like how in tes 5 skyrim the items menu
NEW UPDATED 2023 COURSE AVAILABLE! 🙂
You can find it here: th-cam.com/video/v8jDnBYc0bs/w-d-xo.html&ab_channel=DaniKrossing
Though Lesson 12 of the updated course for 2023, *does not* include a sub-menu, as you brought out here. 🤔 04-28-2023 0400 PT
Hi, How to create new page inside one of the dropdown menu button to display the text/content of the page. I don't know how and what to do..
the reason you have so many subscribers is: not only are you an awesome instructor BUT you also make your screen big enough to SEE what you're doing; even on a mobile device... other programmer instructors please take notice...!!! Excellent video!!!!
There's a lot of "tutorial videos" out here but none explains as clearly as this guy. Thanks a lot man
When you need to search on youtube because your college teacher want you to do a site that uses it even though he never really told you how things even work.
Welcome to school soldier
that's basically how college works
that's basically how programming works
When you've been there and done that already and are instead doing independent study, except now you don't have to pay for someone else to tell you to look it up. x)
@@celticpanda1494 Same
I can't find a good and clear tutorial about HTML dropdown and I only got a 2 days deadline before I pass my project. Man you actually saved me from my grade 11 thesis thanks a lot, keep it up.
many have been called for the teaching but few have been chosen to give out the real content as far as online tutorial is concerned, THANK YOU SIR DANI
This is a great tutorial! I appreciate you taking the time to clearly explain things step-by-step. Cheers
I cannot thank you enough, this thing helped me get extra points on my project. No one in my class did this. thank alot!
Brother kindly contact me
Great tutorial. Many thanks. What worked better for me, though, was giving 'position: relative' to 'nav ul' instead of 'nav ul li'. It helped me with positioning the drop down part of the navbar which has 'position: absolute'.
Thank You!! Excellent tutorial on this topic. I had already muddled through and created one with information I gleaned from several web sights. Yours much more logically put together and aligns much nicer than mine. I had to use negative px padding in spots to get mine to line up correctly. I successfully played with "transition: all 500ms ease;" in the "nav ul li" and "nav ul li a" styles to soften the movement of the mouse along the menu. Setting the height in the main to 'auto' will auto adjust the nav height should the browser window get scrunched in the Y-direction.
Thank you for your precise and concise directions. Extremely helpful in helping me understand drop downs. Thank you.
Can you put a dropdown menu inside of a dropdown menu? When you hover over the nav bar, and the first dropdown menu appears, can you then hover over that dropdown menu to get another dropdown menu?
Yes it's true. You are explaining really well, without hiding. You make your students from zero knowledge to well informed.
I have a 2023 HTML course linked in the pinned comment, in case you are interested 🙂
@@Dani_Krossing yes please
A lot of 'ul', 'li' 'ul', 'li' 'a', 'ul', li's to keep track of. That's why div's are preferable. Otherwise, very clever. Now I have to figure out how to add the hover feature to all of the menu items.
Thank you. Do you repeat the exact process if you have multiple drop-down menus within your nav?
This is the best, the most instructive, and simplest tutorial after searching online this kind ones!
I've been struggling with the dropdown menu for days. You make it so easy to understand! Thank you very much! Really appreciate it!
Hi, mine does not work... can you send me your code to my email i compare?
@@june-nz8hz hey
ahahahahah is there any way that u still have that code?
@@janasokolovic2496 he likely does, in a shared Google Drive folder, that is made available by subscribing to his Patreon account, or now "joining" his TH-cam Channel.
Amazing - i have seen folks doing it with tons of html class , buttons, js efc.
You came here without all this mess and knock it out beautifully
I have seen around 10 diff top listed videos
And yours is the best now I dont need to watch anyone else’s video to understand styling drop down menus
Best teaching skills
Really good, easy-to-follow video and it teaches you exactly what it says it will so very practical. Thanks for posting it!
Another great video I found! When I’m really struggling with a project, you are my go to guy. I love your channel.
thank you so much brother, im just teaching myself html5, css and stuff and this was really confusing me till i watched this video your an absolute legend.
I had to use "display: inline;" on the "li"
to get the links to flow horizontally, other wise they would float left but still be vertical on top of eachother. Can someone explain?
Think of every element in your page as boxes.
display: block = boxes(elements) in your page are stacked vertically
display: inline = boxes(elements) in your page are stacked inline/horizontal
HTML elements that aren't inline elements use display:block as default, so you have to change their display type to inline if you want to display them horizontally.
You are the best lecturer I have seen big up bro
after watching lots of videos... i finally understood the whole concept.. thanks so so much man
Thank you so much. I tried so many other channels and what they show doesnt work but yours does.
Thank you for the walkthrough. It was what I needed to complete a rather extensive dropdown menu.
Great tutorial. For me it's the best on youtube and I've seen a lot of those drop down menus. This one is straight forward, simple and clean code.
First of all, your tutorials are amazing and really helpful!
When trying to write this code Upon moving the cursor onto the drop down menu the background color is not changing.
Can you please let me know if i have made a mistake somewhere?
Here's my CSS code:
*{
margin:0;
padding:0;
}
body{
background-image: url(IMG/bg.jpeg);
}
nav{
width: 100%;
background-color: white;
height:60px
}
nav p{
font-family: impact;
font-size:50px;
line-height: 30px;
float: left;
padding: 10px 20px;
}
nav ul{
float:left;
list-style-type: none;
}
nav ul li{
float: left;
list-style-type: none;
position:relative;
}
nav ul li a{
display:block;
font-family: helvetica;
font-size:20px;
padding: 20px 35px;
text-decoration: none;
}
nav ul li ul{
display:block;
position: absolute;
background-color: white;
}
nav ul li ul li a{
padding: 8px 30px;
}
nav ul li ul li a: hover {
background-color: #999;
}
here's my HTML code:
DESIGN ENCLOSURE
Home
Services
Digital Marketing
Logo development
Product Photography
Projects
doccuments
Thank you a lot man! I have been struggling to do it myself, and as I am still inexperienced, I used bunch of divs and id's and whatnot, and it was a complete mess when I have tried achieving hover effect correctly. Your video has shown me parent->child relationship pretty clearly and simple and now I have completed my task for college successfully and I feel so happy now! c:
"nav ul li ul li a {
}"
, my head hurts
You can target that with a class name as well.
hahaha
code examples of navbar menu examples.
bootstrap-menu.com
@@vsdy1990 This is only for using the bootstrap framework..
navulliullia
How can I add a logo instead of a text in the line above the ? I want to do this with CSS as background in the top left corner but somehow it does not work.
Perhaps a bit quick for a beginner like me. The copy and paste at times were confusing, especially when a whole section is copied and then 95% of it deleted as only one line was required. Other than that, it is a most informative video.
YOU ARE THE BEST I DID NOT UNDERSTAND IT FROM ANYONE ELSE
Thank you so much for doing this tutorial! It by far was the easiest to follow and I'm very happy to say, I am able to get the exact results I was looking for.
How to create wordpress drop down menu?
You are need to use mega menu plugins for that, Groovy, Uber, Max and so on, free or premiums. th-cam.com/video/w1SIBwMdfn8/w-d-xo.html
@@landio_ru Thanks! I try free and get a commercial version here groovymenu.grooni.com
you´re the best instructor
i´ve even seen on all youtube, good video i love your way to teach.
You're amazing thank you, I really like how you explain how the whole HTML and CSS work while building the drop-down menu and the reason why you've added those values. Cheers
Thanks! I will be adding links to your playlist on my website!
So do I
Thanks, very useful video, so now I can do my project at college way more easily
You are awesome Dani! Thank you my friend. You are such a great teacher as you explain it very well.
can this work on a navigation bar which has been centered on the webpage instead of float:left;?
my drop down menu is not going vertically but horizontally instead and its not directly underneath as well :(
Heavy duty CSS ... He makes it look so easy!
This was a lifesaver! You explained everything so clearly! Thank you!!
Good insturctor i watched many videos and i don't understand anything you're explain clearly thankz teacher for help us
Excellent explanation and this video is way much better than my useless professor at school....
alo hvala bruda pune jako!!!!
ideee bosna!!
Thank you very much for the thorough, concise and working tutorial!
After watching about 9 other videos that quite didint work for some reason, everything in yours did!
Thank you again!
omg thanks you for this video. i was worried about the dropdown menu thank you very much.
Finallyyyyyyyy!! I did it..!! After 3 damn days, it was possible to make a drop-down menu. Thank you so much, sir!
hey
do u have code written cause my is not working?
@@janasokolovic2496 Yeah! I have practiced creating the dropdown menu, and this video has helped me a lot.
wow .. its awesome. I created a dropdown along this video. 😄
for some reason when i try to make a dropdown without have a tag in the nav it wont work
OMG this is literally the best thing ever THANK YOU SO MUCH!!!!!!!!!!!!!!!!!!!!
Really Glad I can do this! Thanks!
One thing though, a slightly lighter background image would make it easier to see the black letters in the dropdown menu before they get a white dropdown background.
Awesome tutorial! So easy to follow and understand. Many thanks!
I have watched this video 5X. Thanks Mr. Dani
You just saved my mid-term grade. Kudos to you my good sir.
FANTASTIC and Detailed instructions! Very Nicely Done! Bravo, Bravo.
This channel has the best tutorials for web development ! explanations are always clear
This is really helpful. Thank you so much for yet another awesome tutorial!
This was exactly what I was looking for! Huge thanks to you!!!
This helped a ton in getting the results I desired! Great tutorial!
something I understood when you said it, but perhaps not 10 mins later. I would need a worked example with comments in it. I would probably mess it up trying to make it responsive. But I enjoyed your instruction style.
thank you thank you thank you! I was trying to make one for ages, and finally managed to make a sticky dropdown with this! Your commentary was extremely helpful! I am looking at various tutorials to make this responsive, any tips?
You are a genius in terms of explaining. Very nice.
hey thank you so much! i appreciate you not declaring any IDs or Classes, it makes it much easier to understand what each part needs to be stylized with what!
if I highlight entire area - on rounded corner of dropdown menu, how to get highlight to conform corners of the last nested item?
The last part doesn't work for me, the display:none hides it but display:block doesnt show it
@@ilvaritoo why hover li, we want to show the ul
@@ATXpert so it works for me..
All I wonder is told in last 2 minutes. =) Thanks..
Thank you so Very Much!!!! You made this understandable and I now know how to do this.
Im learning to code a website and this was super helpful, a great walkthrough with tons of info but it will just take time to learn it all.
Thanks a ton!
17:49 If you want to make it adjust to the text size, just put white-space:nowrap; Works like a charm
How would I put a image next to the website title like the website header and not the page title
great video, i've watched a lot and yours is the the best one. it's simple, well explained, thanks a lot!
Wow thank you so much for your explanation such a useful tutorial 🙏🏻
Very clear and understandable video. Thank you very much for this great tutorial.
Thank you so much for these great tutorials, I have learned a lot watching your videos. I can`t get rid of one problem though: If I add a background color to the dropdown menu, the background color covers the header and the "portfolio"-txt disappears.
Nice effect. Thank you for your clear explanation.
thank you very much, you're a life saver!
I've tried many ways to do it, this is the one that works for me.
help!
display:block is not working on the submenu
Thanks for this awesome video why I am calling this awesome is because it is not only written at a quick pace but just every single thing is explained and if we want to just change something it is said that it is your preference. I got a lot, thank you for making this video, your style of teaching is like my teachers who always explains everything he teaches
mannn thank you a lot you know i was search about how can i do that so finally i learn how can i do it thanks man
Thank you very much for your hardwork in explaining it very well. Its my 1st time learning css but i understood it immediately. But, you forgot to show us how to put the arrow for the drop down
I didn't see any way to download the image for a down chevron to indicate a drop-down menu in the above comments. I also didn't see how to incorporate it into the HTML code to have it next to that particular hyperlink in your video tutorial. All in all, however, your tutorials are very informative and I greatly appreciate you making them. I haven't gotten through all of them yet, but I am making my way through all of them. Thank you for taking the time to make these videos and for being very informative.
11:33 I try to follow the step but my ( li a ) in ul didn't drop below ul
I'm having the same problem and I've followed exactly step by step.
Make sure that come after instead of being before :
......
....
@@thuliyan i Tried your tip and it works. I had same issue. Ty very much!
@@thuliyan this worked for me but why, he didnt use this in his video?
@@bokivuck299 He did use it. Check @4:53.
You're an angel.. thank you !
Curious if theres a way to make a drop down menu thats to the side the only way i cant think to describe what i mean is kinda like how in tes 5 skyrim the items menu
You are great teacher.
very well and simply explained. thanks
Now I feel like a pro since I made it fancier than in the video :D animations etc. and overall looks
Thank you so much for explaining each and everything very clearly.
This is really HELPFUL!!! :3 :) LIKE
Absolutely brilliant... thanks for making this so easy😃
That is a great tutorial which I've ever seen! I need this because I am making a website for my brother about online shopping. Thank you!
now i can expand my little knowledge about coding html, thanks!
Nice tut, thanks. What about a dropdown menu responsive?
Thank you very much that is a very good demonstration
Excellent walkthrough.
Thank you so much!!!!!
thanks : ) out of all the last tutorial I have watched yours is the simplest
the best html css tutorial ever!!!!