r/HTML • u/Antique_Strength2589 • Oct 05 '26
Flexbox & Firefox: I need a solution to these mortal enemies...
I am very much a beginner to Website Coding, and I'm not looking to do much design but I am trying to do some simpler things for my personal site.
I have a Weebly hosted account. I'm using the Birdseye Theme because it stretches the whole length of the page. I finally figured out how to use Flexbox, albeit just copying code from the web and inserting my own photos, links, etc... My issue is - As soon as I use Flexbox in the Embed Code app on the weebly site editor, my Navigation Menu becomes completely transparent..BUT only on Firefox. Works perfect on Chrome, Brave & on my phone. I can click on the Navigation Menu items but only when my cursor tells me I'm on it. Otherwise I can't see it.
I've tried using google to figure out a solution and I've seen many that look like they might work, but I have no idea where to paste the code to actually get it to work. Been trying everything and can't seem to get it. Would anyone be able to dumb this down for me ? Thanks.
9
u/abrahamguo Oct 05 '26
We can only help you if you provide a link to either (A) your website, or (B) an online code playground, that demonstrates your issue. We can't help you without being able to reproduce your issue.
Please don't paste code directly onto Reddit.
1
u/Antique_Strength2589 Oct 06 '26
Links to the website:
https://www.scopeinout.com/newpage.html (page with Flexbox usage)
https://www.scopeinout.com/ (main page with no Flexbox usage)
1
u/Neither-Abroad-4661 Oct 06 '26
One important thing about browsers that you need to know is that they can handle errors differently. The standards say how a browser should behave if the code is correct. And good correct code should show up the same on all browsers. But the standards do not and cannot cover all of the possible errors that can happen. So if you give two conflicting styles or just have an error, the browser tries to figure out what to do in some cases or, in other cases, just quits. How different browsers fail can be different. You're learning, so its great to ask questions and experiment, but good code is the key to conformity across browsers.
1
u/testingaurora Oct 07 '26
Flex works well with Firefox , all properties are fully supported and ff has a superior flex inspector than other browsers. I would be very surprised if the issue was configuring flex on ff. If you give us a link and ping to the section in question, we could get further than speculation
2
u/chikamakaleyley Oct 06 '26
this strikes me as a missing closing tag, but yeah, we need the code you are introducing to the template, we don't need everything
1
u/gatwell702 Oct 06 '26
What I've learned is I have to have fallbacks for Firefox :(