9
submitted 1 month ago* (last edited 1 month ago) by yourFanatic@sh.itjust.works to c/webdev@programming.dev

I'm on Zorin(Ubuntu) and when I open my HTML file with Firefox, everything is rendered correctly.

When I open the same HTML file with Brave or Waterfox, the CSS is not rendered.

Everything is rendered correctly for any browser if I first open the HTML file in VSCode then create a Live Server for it.

Is there a default setting in other browsers keeping the CSS in local HTML file from rendering? Thanks in advance.

you are viewing a single comment's thread
view the rest of the comments
[-] oranki@sopuli.xyz 3 points 1 month ago

If the browser is installed as a flatpak, I think it only gets permission to either the directory the HTML file is in, or just the single HTML file.

Snaps probably have a similar permission restriction.

this post was submitted on 07 Mar 2025
9 points (100.0% liked)

Web Development

3835 readers
3 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