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.

8931 questions
4
votes
5 answers

jQuery :nth-child not working in IE

I am using this code $('.list-item:nth-child(5n)').after('
banner
') This works fine in Firefox and Chrome but not working in IE8, IE9...
Code Lover
  • 6,794
  • 18
  • 66
  • 129
4
votes
6 answers

Is IE8 backwards compatible?

Hopefully some has some knowledge of this. I'm fast realising that IE8 certainly can't be ignored anymore. I had previously put it down to either a) just a buggy piece of software, or b) still to small a piece of the market share. Now, however,…
4
votes
2 answers

Rollback SELECT change with jQuery

I want a user to be able to confirm a selection they make in a select control, or to rollback to the previous value if they cancel. The following works fine in Chrome/Safari, but no matter what I try, I can't get it to work in Firefox (on Mac).…
Yarin
  • 144,097
  • 139
  • 361
  • 489
4
votes
2 answers

IE6 floating divs don't clear properly

I'm trying to make a 2-column 'table' using floated elements:
4
votes
7 answers

Script working dependent upon IE document mode

I'm trying to write a widget (which uses UWA syntax) in JavaScript. It works perfectly well in FireFox, but Internet Explorer is being.. bizarre. Basically, when I first load the widget up, it doesn't display my centre column (which should show the…
turbonerd
  • 1,050
  • 3
  • 24
  • 59
4
votes
2 answers

Is there a cross-browser way to precisely vertically size an inline element?

Imagine CSS like: .x { background: blue none; border-radius: 6px; } and HTML like:
Words and decorated words
The height of the span reading 'decorated' is going to vary wildly between different browsers, and…
Alan H.
  • 15,001
  • 14
  • 74
  • 104
4
votes
5 answers

How to detect browser supports this HTML5 feature

I want to detect (using javascript/jQuery) whether the user's browser supports multiple attribute to input type='file' tag. A feature of HTML5 to add multiple images. Please suggest me how can…
Rusi Nova
  • 2,477
  • 5
  • 28
  • 47
4
votes
3 answers

testing support for overflow-y:auto in browsers

I want to test if a particular css property attribute is supported in the browser. For a css property, i can do it like var overflowSupport = document.createElement("detect").style["overflow-y"] === "" But what if i have to check for a particular…
ghostCoder
  • 7,009
  • 8
  • 43
  • 63
4
votes
5 answers

Can I code CSS specifically for Mac browsers?

Site: http://clientfiles.priworks.com/lgmanagedportfolios/test/investment.html I have been working at this web page for a while now trying to get the left side of the first submenu link to line up with the left of the 1st parent/main menu link. I…
SuperDistros.com
  • 4,113
  • 6
  • 19
  • 28
4
votes
1 answer

Browser support for Selectors API

Is there a page somewhere which shows the current browser support for the Selectors API?
jgauffin
  • 95,399
  • 41
  • 227
  • 352
4
votes
7 answers

AJAX responseXML errors

I've been having some weird issues when it comes to make an AJAX request and handling the response. I am making an ajax call for an xml file. however when i get the response the xhr.responseText property works fine in firefox but not in IE. Another…
Tony L.
  • 7,947
  • 5
  • 22
  • 28
4
votes
4 answers

Different font size just for Firefox

I am just adding a account header for my website, that just displays the players username. I am using a custom font and it works fine on chrome and IE, however for Firefox, it doesn't display the custom font and just displays the next available font…
Al Hennessey
  • 2,175
  • 5
  • 34
  • 57
4
votes
5 answers

Removing hash from URL

After removing hash from URL using window.location.hash='' page getting reloaded in firefox. EDIT Example: wwww.Mysite.come/#page=1 On a click of button I am removing hash value using following code window.location.hash='' After removing the hash…
suma
  • 119
  • 1
  • 3
  • 9
3
votes
2 answers

Is there any disadvantage of setting global background CSS3 transition on all elements?

I've started playing around with CSS3 transitions in one of my projects, and I found that I basically want to have a transition on background color for every element that changes it on hover. If I do something like a { transition-property:…
Jakub Arnold
  • 79,807
  • 86
  • 218
  • 314
3
votes
4 answers

How do I display HTML elements that span the width of the page inside width-restricted elements?

I'm working on a design that calls for the main body of the design to have a fixed pixel width of 940px, but for the top and bottom borders to extend past this boundary. This is the simplest image that shows the desired effect: Assuming some HTML…
danieltalsky
  • 7,002
  • 5
  • 36
  • 57
1 2 3
99
100