this post was submitted on 24 Jan 2026
14 points (100.0% liked)

Web Development

5041 readers
1 users here now

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

Related Communities

Wormhole

Some webdev blogsNot sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

CreditsIcon base by Delapouite under CC BY 3.0 with modifications to add a gradient

founded 2 years ago
MODERATORS
 

Hi! I have a very simple web-app for displaying the weather. It's built with just HTML, CSS and JavaScript, getting the data from the OpenWeatherMap API. I made this for my own personal use only.

It looks great in Firefox on my Linux desktop, and in the DuckDuckGo browser on my android 16 phone. In the Firefox browser on my phone, it looks great in a Private browsing tab. But there's an issue in a regular (non-private) FF browser tab.

In that one context, I have a display:flex row, with one column for the forecasted temperature for each of the next 24 hours and in a FF Android non-private browser tab only, the section is not displayed at all.

This is what it looks like in the DDG browser (correct):
https://files.catbox.moe/1aa2br.png

This is what it looks like in the FF non-private browser (the Hourly columns are not displayed):
https://files.catbox.moe/108iy6.png

You can see the "hourly" heading for the section but none of the contents are displayed at all.

The HTML for the div looks like this:

<div class="hourly-forecast">  
                <div class="hour-column">  
                    <div class="hr-temperature"></div>  
                    <div class="hr-sun"></div>  
                    <div class="hr-time"></div>  
                </div>  
</div>  

The CSS for the hourly-forecast and hour-column classes looks like this:

hourly-forecast {  
    display: -webkit-flexbox;  
    display: -ms-flexbox;  
    display: -webkit-flex;  
    display: flex;  
    justify-content: space-between;  
    padding: 5px;  
    white-space: nowrap;  
    overflow-x: auto; /* Allows horizontal scrolling */  
}  

.hour-column {  
    display: -webkit-flexbox;  
    display: -ms-flexbox;  
    display: -webkit-flex;  
    display: flex;  
    flex-direction: column;  
    align-items: center;  
    min-width: 75px;  
    text-align: center;  
    border-left: 1px solid lightseagreen;  
}  

I just added those -webkit lines but that didn't help any.

The JS just gets the data and puts it in the correct spots in the HTML. The page is not really interactive otherwise, FYI.

I searched around for this but couldn't find anyone else who had issues that only show up in FF Android.

Thanks for any ideas you might have!

top 6 comments
sorted by: hot top controversial new old
[–] GreatRam@lemmy.world 5 points 3 days ago (1 children)

Find out which property is causing the issue by commenting them out one by one. Then once you know which property it is you can google for a workaround.

[–] perishthethought@piefed.social 1 points 3 days ago (1 children)

Thanks for the idea. Tried that, went through all of the related CSS lines. No changes in the display in FF.

I also tried adding text inside the html elements where I expect to see the data displayed, like this:

<div class="hourly-forecast">  
                <div class="hour-column">  
                    <div class="hr-temperature">1</div>  
                    <div class="hr-sun"></div>  
                    <div class="hr-time"></div>  
                </div>  
                <div class="hour-column">  
                    <div class="hr-temperature">2</div>  
                    <div class="hr-sun"></div>  
                    <div class="hr-time"></div>  
                </div>  
                <div class="hour-column">  
                    <div class="hr-temperature">3</div>  
                    <div class="hr-sun"></div>  
                    <div class="hr-time"></div>  
                </div>  
</div>  

That "1" (etc) does display, in a stack, one number below the next. No idea why though still.

[–] GreatRam@lemmy.world 1 points 3 days ago* (last edited 3 days ago) (1 children)

You can add a flex-direction: row to the hourly-forecast.

Something else you can do is see if you have any extensions and try turning them off one by one to see if it's one of them causing it.

Last you can try to get the devtools working and investigate with them why theyre not rendering as expected.

Thanks again. Adding flex-direction didn't changer things. And doing the whole firefox remote deubgging via adb looks like a ton a of setup. I think I will just abandon ship here and use a work-around, since this is still just for me.

[–] misterztrite@lemmy.world 1 points 2 days ago (1 children)

Unless it is a typo for this post, you are missing the dot in front of hourly-forecast your css.

Ahh, sorry, yeah - just a typo here.