Website acts different on different browsers [closed] - javascript

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 9 years ago.
Improve this question
I am working on this website . It has a full screen video background and there is other javascript that is coming .
Website : www.omod.biz/omoddemo
The website behaves differently on different browsers. I dont know how I could solve it . the currect version runss smoothly on chrome , IE . works poorly on Firefox .However , does not show on opera and safari in my windows 8 PC . Ihe website again runs smoothly on safari on my Macbook .
I am trying to learn web development concepts on my own , however how does one understand how different browsers will react . And I want to make this website run smoothly on all browsers . What should be the changes ?
any type of help will be appreciated. Thank you

Different browsers support different things. Some browsers support thing other browsers don't.
In terms of CSS, make sure all of your properties have the necessary prefixes. Eg:
property: value;
-webkit-property: value;
-moz-property: value;
-o-property: value;
Also, some browsers don't support certain properties.
HTML, some browsers support certain tags.

Related

chrome, firefox and safari page looks different [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I made a site using a template someone else purchased and I made modifications to it quickly and uploaded it splurg .co
I am working on the live app and have been away from webDev for a while and would love to know why on my system in three different browsers the page seems to react differently. And what I can do to figure out how to fix each page / or my setup ?
the page in question and on my chrome does not show a backgoround image and in firefox it renders.
I am curious on how I can figure this out myself, I've look at dev tools and it appears to get the image just never loads it.
Since I checked the site at work using chrome ( and it worked there ) I added an screenshot, since it seems to just fail on my own personal system and no where else ?
This is a very common issue with different browsers. A google search on cross browser compatibility will give you a lot of reading material as well as resources to help solve the issue. Different browsers use different parsers and rendering engines. As such, different browsers yield different results of the same website. That is why IE is one of the most hated browsers by web developers. It usually has to do with CSS. For example, some CSS properties are not honored in certain browsers and sometimes you have to prefix the property with browser specific prefix to make it work like -moz-box-sizing Notice the -moz- prefix.
Also, if your template is using CSS3 that is a whole another bag of worms. Hope it was helpful and happy coding.

Turn IE into WebKit by JavaScript [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
My html generated pages is working wrong with IE and correct with Safari. I found out https://github.com/trevorlinton/webkit.js project but it still in development and does not support IE. Does exist another ways to turn IE engine to WebKit using JavaScript?
I know about Chrome Frame plugin for IE but it is not what I want
My aim to change engine - my pages generated from another program and that program is anonced as partaly support of IE and full support of Chrome and Safari
So, i think - the easist way to solve problem of IE to turn IE engine to WebKit engine by Javascript
UPDATE
I found out a solution for IE - I made a patch to update my genenerated pages after reverse enginiring of generated pages and scripts - but I like more complex solution
Is it possible to change browser engine by javascript?
Replacing a browser engine from a webpage is a ridiculously dangerous thing even if it was possible. This would open up various security risks because it would allow the engine to be changed to a modified one that contains malicious code, for example, or outdated security technologies.
It is recommended that you actually bother to code with standards rather than just for a specific browser to avoid compatibility issues or broken pages on other browsers.
Providing all the vendor-specific prefixes as well as the standardized version in CSS instead of just one vendor-specific prefix in CSS will ensure greater compatibility across a wider range of web browser engines.
For HTML, ensure that your code is validated properly and closes all tags. Doing this will help improve compatibility on other browsers, as every browser engine uses a slightly different way of interpreting the code.

javascript disabled in Mac by default? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Since I dont have a Mac and dont have much experience (couldnt find any infos either)...I would like to know if Javascript in Mac is disabled by default if using Safari or any other browsers.
Im asking because it happened once that one or two users told me they couldnt access some of my sites features (all javascript) and that they are on a mac.
No. All of the mainstream OS X browsers support JavaScript and have it enabled by default.
It works perfectly in all those browsers, essentially firefox 19-30+, Safari 4-7+, opera 15+, chrome+. They display downscaled images fine as the rendering engine improved. You can always display a fallback using SVG if rendering is ugly using javascript media queries.

CSS - Different result on IE, please save me [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I am working on a OSCommerce site, and i can't figure out why is this happening.
You can check the website at the url: http://tendance24.com
The layout is completly different on IE and i'm wondering why cause all the should work for IE.
I am wondering if it couldn t be javascript.
Please let me know if you want me to upload all the css file somewhere, or anything else.
Thank you
It's because you're seeing it using Internet Explorer's Quirks Mode.
The website will only render correctly using Internet Explorer in Standards Mode.
If you press F12 when the Browser is in view and you'll be able to change this from Quirks to Standards mode.
This post will help solve the issue.

Is it safe to use JavaScript with IE? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Everytime I think about using JavaScript (or any JS library) I see this red light in front of me. My only concern as usual is IE. So here is what I want to know:
1) Is JavaScript disabled by default in IE8 or IE9?
2) What about you, do you feel safe when including a JavaScript code in a site that may be viewed using IE 8 or 9?
3) I found so many problems when applying CSS rules to html5 tags in IE8 so I used Modernizr. However it depends on JavaScript to enable html5 tags so I could apply CSS rules to them in IE. Am I risking to lose CSS styling as well, by using Modernizr?
No JavaScript is not disabled by default in IE8/IE9
Yes I feel safe, because I code defensively with those browsers in mind if they're mentioned as requirements in the project spec.
Again, code for your requirements. If you have a real reason to believe that modernizr isn't going to cover your requirements, don't use it and style accordingly.
1) No, it is enabled by default
2) Safety is not a concern for you in that case. Nowadays, modern Javscript libraries even support IE quite well. They often implement workarounds for features not supported by IE, so that users just can't use all features the libraries has, but the scripts shouldn't crash any more.
That said, you still need to test your sites in IE.
Javascript has become a widely accepted standard finally.

Categories

Resources