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

How to generate a right-click event in all browsers

A little context: The app I'm working on has a right-click context menu for certain objects on the screen. The current design as that each of these objects listens for a right-click, sends an AJAX request to get the context data for that object,…
ntownsend
  • 7,462
  • 9
  • 38
  • 35
4
votes
3 answers

When is a

tag considered empty?

W3.org states: We discourage authors from using empty P elements. User agents should ignore empty P elements. How do we define empty? Does a space character between the

tags count? What about a new-line character between

?
Pacerier
  • 86,231
  • 106
  • 366
  • 634
4
votes
2 answers

Nivo-Slider disappears while slide is being changed in IE ≤ 8

I'm testing the slider and it works in Chrome and IE 9+ but doesn't work properly in earlier versions. The problem that occurs to me is that while the previous slide is rolled up, an error-like image is revealed (and the loading.gif is then visible)…
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
4
votes
2 answers

Running code only after an object is updated in IndexedDB (particularly in Chrome)

I feel like this is a pretty mundane thing to do. I want to update an object in an IndexedDB database and then run some code after which uses the updated values. What I originally did was just run my callback function after calling cursor.update,…
dumbmatter
  • 9,351
  • 7
  • 41
  • 80
4
votes
1 answer

single file webpage

I'm trying to find a cross-browser capability for saving and loading entire webpages as single files. MHTML (.mht) is an example of such a file type, but it doesn't work cross-browser. Any suggestions?
Nate Glenn
  • 6,455
  • 8
  • 52
  • 95
4
votes
4 answers

CSS: background image for submit button

I have styled submit button with custom background image. But it shows differently on different browsers. Almost all browsers shows it correct: But on 2 it have extra height: Can anyone point what wrong is with my…
Arthur Halma
  • 3,943
  • 3
  • 23
  • 44
4
votes
1 answer

Capture CTRL+S cross-browser with ExtJS 4.x and avoid browser action

I want to stop default browser action CTRL+S and have my RIA save the form data while user press this key combination for our application. We are using ExtJS 4.1.x Similar solution here using jQuery: Best cross-browser method to capture CTRL+S with…
deej
  • 2,536
  • 4
  • 29
  • 51
4
votes
4 answers

IE 8 & IE 9 give me the `textarea` of height that is less than requested by `rows` attribute value

Currently working on cross-browser compatibility came across the problem with range of IEs. I need the textarea of such height that it would render given text without scrollings. So I count lines of such text on the server side and on the front-end…
jibiel
  • 8,175
  • 7
  • 51
  • 74
4
votes
1 answer

How can I specify page breaks in Chrome and Safari?

I want to add page breaks to my site so that other elements will not be cut in half when a user tries to print the page. I've tried adding the css "page-break-after: always", but it only works on Firefox, and can't find any other solutions. There…
Erik
  • 41
  • 2
4
votes
1 answer

pixel-perfect consistent text width in SVG or HTML

See this demo on jsFiddle (or hosted here): I have an svg path that is rougly (99.99%) circular Along this path, I place text, using a 'textpath' svg element I want the end of the text to meet with the beginning as accurately as possible (ideally…
Romi
  • 123
  • 10
4
votes
1 answer

Testing Rails App running on mac os x from VirtualBox

I am running a Rails app on server 3000 on my Mac OS X, and am trying (and failing to) connect to it from a Windows XP IE7 VM. I have tried the following: NAT and using the ip address provided on the mac through ifconfig Bridged Adapter in…
Abraham P
  • 15,029
  • 13
  • 58
  • 126
4
votes
1 answer

Enabling perspective CSS transform in Chrome?

When I use this style with #board(the gray one) -webkit-transform: perspective(500px) rotateX(45deg); -moz-transform: perspective(500px) rotateX(45deg); What it looks in Firefox: But in chrome: What we need is the one in Firefox. So what should…
Tangent Chang
  • 87
  • 2
  • 7
4
votes
4 answers

.height(item.height()) jquery too slow in IE! Alternatives?

I am trying to set the height of absolutely positioned items to match the height of their container element. The problem is that there are hundreds of these elements. The standard code in the title runs great in chrome, but drags like crazy in IE.…
jumpdart
  • 1,702
  • 16
  • 35
4
votes
2 answers

IE Font-face issues & solutions we tried

I know this is a common problem, I tried pretty much every solution I could find, and I wondered if showing a little bit of code would be more useful. The issue I am trying to implement 4 font-faces for a client. The current files have been…
4
votes
8 answers

@font-face working when local but not when upload to hosting space

I am building a website and I attempting to get cross-browser compatibility with a free font named Tex Gyre Cursor. So far I have tried several ways which I have found searching though Google. Site 1, Site 2 & Site 3 They have worked when testing…
Circinus
  • 59
  • 1
  • 2
  • 8
1 2 3
99
100