2,540 questions
2
votes
1
answer
69
views
Why is my dropdown-menu not connecting and disappearing?
Image of navbar.
So I'm making a navbar for my class, but the dropdown isn't connecting, and it disappears the moment I move to click. If I tab, I can hit Enter to go to the pages. I tried creating a ...
0
votes
0
answers
41
views
Can't figure out a href # data-tab tabs
I'm referencing another site to replicate their switchable tab system, but it doesn't seem to work on my end.
<div class="small">
<div class="nav-list">
...
0
votes
1
answer
136
views
How to have a pop-up for a download on my navbar?
I am looking to have a pop-up when someone clicks on my download button on my navbar, but I have been having problems when trying to make it work.
Here's an example website. (rubberduckvba.com) I can'...
1
vote
3
answers
71
views
How do I fill the width evenly? [duplicate]
I wanted to put border that separates the elements on a simple navigation bar. But the border is appearing on wrong place.
* {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
padding: ...
-2
votes
1
answer
58
views
Mobile navbar does not automatically close afer clicking a link inside the navbar
I created a responsive mobile navbar with a toggle button. One can open and close the toggle button by clicking on it. However when the links inside the mobile navbar are clicked, the page scrolls ...
-1
votes
1
answer
88
views
I have a problem in my multi-level nav menu css is there anyone can help me?
My sub menu showing in same row with its parent i want to display it from top mean no gap from the top for each submenu ul.
It is right now working good just the gap need to remove from the to like ...
0
votes
1
answer
68
views
Dropdown navigation doesn't work on mobile devices (JavaScript, HTML, CSS)
I built a navigation using JS and SCSS. On desktop it works totally fine, also some mobile devices like Galaxy S10 show the dropdown menu. But most other mobile devices do nothing when I click the nav ...
0
votes
1
answer
26
views
Boostrap Nav Tabs using anchor links to show tab
Currently using bootstrap 5.0 (just straight html/css) and am having trouble figuring how to get an anchor link to open up a tab.
<div class="tab-content" id="tabContent">
&...
0
votes
1
answer
141
views
How to activate bootstrap dropdown menu item by pressing keyboard key
Bootstrap 5 navbar contains dropdown menus.
Dropdown menus have underlined hotkeys like a,n,s,e :
<div class="btn-group">
<button type="button" class="btn btn-...
0
votes
1
answer
46
views
Navbar hovering font color in listed items
I have a navbar on a website, of which I want the background color to be yellow and the text black. When having a mouse over an item, the background would be black and the text yellow.
My problem is ...
1
vote
1
answer
71
views
How do I select first item in nav list of hover underline list items effects to stay underlined?
I want the first item in a list in my navigation to stay underlined, and the rest to underline on hover, with the first item only not underlining until I hover on another list item. I have already ...
-1
votes
2
answers
121
views
A padding issue when creating a navigation bar
I have just started HTML and CSS, and I want to make a navigation bar. I ran into a problem where each of my links has this weird padding under it when I hover over the links, as shown in pictures. ...
0
votes
1
answer
80
views
transitioning underline for sub menu items stretch across its container width, not the width of item name
I'm not sure where I've gone wrong but I did have my submenu items with a line after/underneath them which would transition to be the width of the word see here: working
Ive made some changes to class ...
1
vote
1
answer
866
views
Bootstrap 5: Content between tabs not showing nor changing
I'm a beginner coder and have been trying to make my topnav bar work with my links to switch between tabs. It shows that the tabs are switching in the URL, but it doesn't change the content being ...
1
vote
2
answers
60
views
Stretching a nav to the bottom of height differing pages
How can I ensure the nav stretches to the bottom of every page dynamically? I'm pretty new to CSS and HTML so forgive me if anything is obviously wrong. But I can't figure this out for the life of me. ...