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

Web Development

3726 readers
87 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
 

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
[โ€“] yourFanatic@sh.itjust.works 2 points 1 week ago* (last edited 1 week ago) (1 children)

I've only installed browsers with commands from their official website and I've also installed flatpaks.

I'm not sure if stock Firefox on Zorin is a flatpak or snap but it has no problem rendering the CSS.

A long time ago, I saw something very similar with snap in particular. Snap for some reason had no permission on the filesystem I was running on (or limited permissions I forget which).

I just installed from source and it started working. Not sure if that helps you or not, but I would take a look at the inspect element -> Network tab and you should see something.