Top "Cross-browser" questions

Cross-browser development refers to the practice of building web sites, web applications, libraries, or components so that they function across different web browsers and rendering engines.

If I'm already using Modernizr, will I then even need HTML5 Shiv?

1) If I'm already using Modernizr, will I then even need HTML5 Shiv to enable HTML5 tag support for IE? 2) Is …

javascript html css cross-browser modernizr
Keep image ratio using max-width and max-height in IE 11

I'm trying to get an image to fit inside a container while keeping it's size ratio. The image should take …

css cross-browser internet-explorer-11 responsive
Promise.defer() browser support

I am looking for a way to create deferred object which will be resolved outside the current scope. I like …

javascript cross-browser promise es6-promise
Safari and IE can't read TTF and EOT fonts

I have trouble reading a font in Safari. I converted OTF to TTF - two bold and regular fonts. Both …

css safari cross-browser font-face truetype
How to change behavior of contenteditable blocks after on enter pressed in various browsers

When pressing enter in <div contenteditable="true"> </div> in firefox <br /> is produced - …

javascript cross-browser contenteditable
Play mp3 file using javascript

Which is the best and cross-browser way to play a mp3 (very short) file via javascript? I tried different ways …

javascript cross-browser mp3
Which versions of IE support PNG favicons?

In this old StackOverflow post, it was said that only IE6 had issues with PNG favicons, but on channel9, it …

html image internet-explorer cross-browser favicon
jquery opacity cross browser?

Is the the jQuery('#selector').css({'opacity':50}); cross browser? The only reason i ask is because the line below …

jquery cross-browser opacity
Read Attributes of SVG-Elements in HTML via JS

I have the following markup (HTML with native SVG): <!doctype html> <!-- ... html-Elements ... --> <svg …

javascript cross-browser svg no-framework
Why were window.scrollY and window.scrollX introduced?

As far as I know, pageXOffset/pageYOffset properties were already available since Netscape 4 era. And it seems scrollX/scrollY were …

javascript dom properties cross-browser cssom