Questions tagged [cross-browser]

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.

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. This contrasts with the concept of developing for one browser or engine.

9067 questions
4
votes
1 answer

document.execCommand copy command does not work or other solution?

What I am doing is programmatically select all text from a webpage and then copy it. The select all works with execCommand but copy doesn't. Here is my code: $.ajax({ url: $('#url').val(), type: 'GET', success: function(res) { …
Dev01
  • 4,082
  • 5
  • 29
  • 45
4
votes
2 answers

Is it possible to link (via #) to a destination within a PDF using URL parameters with Google Chrome?

The # operator is often used to refer to an anchor in HTML code. For example like this: Open mypage.html and auto scroll down to myanchor I have created a pdf which contains a so called…
Ruut
  • 1,091
  • 1
  • 16
  • 29
4
votes
2 answers

Evolution of my custom cursor code: How do I get it to work in IE?

I have a custom cursor that is using an image. My original code: cursor:url(../images/drag_mini_bg.png); I then discovered that Firefox requires you to define a default backup in case the image is not found, and changed it…
froadie
  • 79,995
  • 75
  • 166
  • 235
4
votes
4 answers

horizontal scrolling div not working in Safari

Hi I made this site a while ago in my table days but have just realised the horizontal scrolling dive doesn't work in Safari. #galleryscroller { overflow-x:scroll ; overflow-y:hidden; overflow:-moz-scrollbars-horizontal !important; …
morktron
  • 915
  • 4
  • 17
  • 31
4
votes
2 answers

Any standard for Unicode font support expected of all browsers?

Is there a standard governing Unicode font support expected of all browsers? The latest version of Unicode contains a repertoire of more than 110,000 characters covering 100 scripts. I don't expect the browsers to support all of them, but there…
Question Overflow
  • 10,925
  • 18
  • 72
  • 110
4
votes
3 answers

Using OpenType fonts in the browser

A particular font variety (with ligatures) that I would like to use is only available as OpenType. I am trying to work out which browsers will be able to display it properly, and how I should add it to the CSS. I have found this article from July…
Richard
  • 62,943
  • 126
  • 334
  • 542
4
votes
3 answers

vertical-align and inline-block behaving annoyingly different in chrome and firefox

I am currently trying to wrap my brain around a problem, but i can't seem to grasp it. In an unordered list for a navigation, i want to add an icon before every list item via css before pseudo class.
4
votes
4 answers

How to detect when browser places saved password?

I'm trying to detect when a browser places a saved username and password into the input fields. I've looked at this post , but I don't have the option to change this functionality, and the other solutions on don't work. Basically, I have a disabled…
streetlight
  • 5,968
  • 13
  • 62
  • 101
4
votes
3 answers

document.body.style.backgroundImage isn't working cross-browser

I'm writing a function to toggle the body background between light and dark, both a tiled image and a backup background color. In index.html, my body tag is: It seems I…
alsmith
  • 59
  • 1
  • 4
4
votes
5 answers

What WYSIWYG editing component should I use for in-browser editing?

I'm looking for a good, WYSIWYG editor that I can integrate into my web pages enabling my users to edit letters, legal agreements, etc. without requiring them to learn a new set of commands or syntax or going crazy trying to remove a table or resize…
Artilheiro
  • 4,005
  • 10
  • 36
  • 34
4
votes
3 answers

Set caret to end of textbox on focus

The Question: When a certain textbox receives focus, set the caret to the end of the textbox. The solution needs to work with IE7, Opera, Chrome and Firefox. To make things a bit easier, this behavior is only needed when the current value of the…
Laoujin
  • 9,962
  • 7
  • 42
  • 69
4
votes
2 answers

Why does this Twitter script tag try to evaluate to true? Does it matter?

Possible Duplicate: What does the exclamation mark do before the function? I'm maintaining an existing site with a "tweet" button, which appears to come from this page A colleague here brought up a great question: Why does this script tag reverse…
Chris Trahey
  • 18,202
  • 1
  • 42
  • 55
4
votes
2 answers

change() event for select input in IE9

I'm aware that jQuery's change() method doesn't fire for select and radio inputs in IE9. However, none of the workarounds I've found are working for me. Here's the code that works in all decent browsers: $("select#orderby").change(…
emersonthis
  • 32,822
  • 59
  • 210
  • 375
4
votes
1 answer

HTTP 204 (no content) when triggering onLoad and onError for an Image?

Does every browser behave consistently when getting a HTTP "204 No Content" for an img src request? on firefox and opera i get an 'err', want to know if all others…
gcb
  • 13,901
  • 7
  • 67
  • 92
4
votes
1 answer

Setting focus to the end of a textarea

editor.focus(); Sets the focus fine in Chrome. But in Firefox, the focus is set on the beginning on the line. I want it to be set on the end of the line. I tried this: moveCaretToEnd(ed); function moveCaretToEnd(el) { if (typeof…
petko_stankoski
  • 10,459
  • 41
  • 127
  • 231
1 2 3
99
100