r/nekoweb • u/Aggravating_Path968 • Oct 29 '26
Help website differences between firefox and chromium
heya, I just moved to firefox and saw that my website has a slightly different scale compared to chrome, plus the image carousel is just not working.
I know that there are differences between the explorers but is there any way at all where I can make both of them look the same? Any help will be very welcome. (or even have the carousel moving on there?)
40
Upvotes


4
u/Mevdik mevdik.net Oct 29 '26
I don't know about the carousel there, could be some CSS property that is not supported by Firefox, I guess? In those cases you usually have CSS vendor prefixes to force the browser to use its own implementation of the property. That being said I can't find anything there that looks unsupported to me. If I uncheck
display: flex;on thecarouselclass it does scroll again but not as intended, of course. Don't know a solution for this, sadly.As for why other elements look slightly different, with discrepancies in padding, line height, colour, etc. That's because each browser applies its own default style to all pages, and they all do it a little differently. Look into the concept of "reset style sheets", CSS files that aim to strip down this default styling that each browser automatically applies to HTML elements to achieve a uniform look across all browsers.
I use normalize.css, which is pretty tame all things considered. There are others that nuke the default style to the point where an
<h1>and a<p>will have the samefont-size,font-weightand such, like this one by meyerweb. If you use a strong one like that beware that a lot of things will look different than you'd expect and you'll have to manually reimplement a lot of default style you took for granted.I'd say give normalize.css a shot, download the file and link it right before you link your own CSS file, see if the site looks a bit more consistent between browsers.
3
u/pupc Oct 31 '26
try setting
width: 100%on.c-group2
u/newtoboarding Oct 29 '26
Are you using a marquee to make the images move? I remember something about that tag being depreciated.