Hey, i am designing a website for a clothing line and i have a section at the top that is “men’s, women’s, about, etc” where the individual words should link to that category of clothing. However, they are all un-clickable, and i have no idea why, the code is correct and it was working earlier.
Yes it’s something that hasn’t been shown to us that is causing the issue
The #topbar is a bad construct anyway as it does not automatically contain its floated children. The #topbar has been given a magic number to increase its height but that assumes too much about its content which can’t be known (user increases font-size etc).
Floats are outdated today anyway and flexbox would be a better option.
As @technobear said I would guess that another element has slid over the top of the menu but we can’t say what as the code posted above is basically working.
Have you taken a course in HTML and CSS fundamentals? If not, that would be the best possible thing you could do for yourself if you are seriously interested in HTML and CSS coding. There is simply too much to know to just “pick it up” piecemeal, randomly.
Hi. Totally agree with you man. This question sounds weird but who knows probably he didn’t understand it during the lesson that is why he came here and ask. I think it is a great idea to have some practice after classes
I had the same issue when I was making my website. The problem that I had faced was my code was wrong. So just code once again.
Now my code alright.
Thank you!