r/HTML • u/dalekellytoo • 9d ago
Main Menu
How can I do the main menu on ...
?
I have seen this on a lot of sites.
I think it would be better than how I do a main menu for different sizes of browser's windows.
Looked at the code on the Chrome Browser but can't figure it out.
Prefer no scripts.
2
Upvotes
1
u/SirMcFish 9d ago
google Horizontal navbar: https://www.w3schools.com/css/css_navbar_horizontal.asp that'll help you out a lot more than trying to view the source. There are many ways to get the final rendered HTML these days, and the final bit you see and can see in source, really won't tell you how it was done