how come my website only fully works on certain browsers - html

I have made a website and while I was making it I was viewing it in Firefox to review changes as I was going along and it was all fine. I finished making the website to the design I was following and put it on my domain to find that if you view it in chrome or other certain browsers it brakes the website and you can only view it properly on other certain ones like Firefox.
ones its broken on:
Google Chrome
Microsoft Edge
Opera
ones it all works on:
Firefox
Internet Explorer
(from my findings)
the website url is https://hily.nl if it helps u can try to view it yourself.
this is what it is meant to look like ( what it currently looks like on Firefox ) :
https://imgur.com/a/qXSw1gZ
this is what it looks like when its broken ( what it currently looks like on google chrome ):
https://imgur.com/a/c71tV71

The first suggestion from here where you have the svg wrapped in <object>...</object> and use data as opposed to src worked when inspecting your site on Chrome and changing attributes.

Related

Chrome is truncating part of my pdf address

We have a catalog on our college website.
It may be found here:
https://www.southark.edu/admissions/resources/course-catalog
The links going down the left side of the page point to specific pages within the catalog.
For example:
https://www.southark.edu/images/catalogs/2021-2022/2021-2022_SouthArk_Catalog_FINAL.pdf#page=100
But when clicked, Chrome truncates the last portion of the url (in this case, #page=100), and it displays the first page of the catalog, not the intended page.
This happens in Chrome, but not Firefox.
It has worked in Chrome for years, but now it does not.
Any idea why Chrome is doing this and what kind of workaround I might be able to do?
P.S. I just tested it in Safari on my iPhone and it is doing it on there as well.
Thanks,
Charley
I discovered that it is due to the Chrome PDF extension. If I turn it off, it operates as it should.

Chakra UI app is not being rendered properly on Chrome

I'm following a youtube tutorial on a MERN stack project. It uses Chakra UI for the frontend. But I've noticed a weird issue. The app looks perfectly fine on Firefox, but not on Chrome. I have attached the images to show the difference/problem.
While trying to solve the problem, I noticed that the app looks fine in incognito mode on chrome also. I changed the chrome profile to a profile that I don't use often, and the app looks fine on that as well. So, it seems like the problem is with the chrome profile that I use generally. I have also tried disabling the extensions that I have, but it's still not rendering properly. I also tried removing the browser cache, but no success. I don't want to remove the entire data from my profile. Can you please explain what is causing this issue and what might solve it?
The app looks like this on Chrome:
The app looks like this on Firefox:
I'm guessing you're using colorScheme for your buttons and that Chrome is on dark mode and Firebox is on light mode. Colors schemes have different colors for each theme. For more control on which colors are used you can try:
Styling single part components
Style props like below
<Button color="white" bg="blue">Log In</Button>

The website UI does not look fine in safari but looks perfect in chrome and firefox

So there's this problem with the site's UI:
it works fine in Google chrome etc in mobile browsers but when viewing in Apple safari mobile browser, the site's UI gets displaced.
I have tried everything, I guess the margin property is not working in safari. Take a look at Screenshots.
how it looks on android chrome
Second image is how it looks on safari. and it should be like first image on safari as well
First thing I would think of that try to use a css normalizer
https://necolas.github.io/normalize.css/
Along with a css prefixer to ensure the problem is not from the design
https://autoprefixer.github.io/
In case both of these solutions didn't work please provide a JSFiddle Code in order to help you properly.

How to prevent your web page to display in IE?

I am working on my first project and it looks OK in Chrome and Opera. But for some reason the "Signature Chef dish" section, looks off on Firefox. I suspect it has something to do with the grid I implemented there?
How can I fix this?
Also I want to disable view in the IE and it looks like a complete mess. Why?
URL: http://www.chefmarwanslim.com
The code:
https://github.com/Igor2122/marwan-3-0.git
In order to 'block' IE, just check what browser is being used and than change the page accordingly, in the case of IE you just display "Please upgrade to a decent browser". You could also add a link to firefox or chrome in that message if you want to. In order to detect what browser is used, please look at How to detect Safari, Chrome, IE, Firefox and Opera browser?.
Feedback for the site
The site looks nice, but the SIGNATURE CHEF DISH section isn't consistent. It would be better if the tweets and 'normal' pictures where displayed the same way or if you'd only use one of the two.

Safari ignores stylesheet hierarchy

I'm trying to figure out why the font stylings are completely different on Google Chrome versus Safari on this page: http://brokencartons.com/category.jhtm?cid=90. Chrome reads my stylesheets as I want it to, but Safari just seems to ignore how-it-works.css if you take a look with the inspector. Any idea on why this happens and how I can fix it?
This is what it looks like in Chrome (as I would like it to look like on all browswers):
This is what it looks like in Safari: