tagged [cross-browser]

File input 'accept' attribute - is it useful?

File input 'accept' attribute - is it useful? Implementing a file upload under html is fairly simple, but I just noticed that there is an 'accept' attribute that can be added to the `` tag. Is this at...

14 Apr at 07:49

How do we control web page caching, across all browsers?

How do we control web page caching, across all browsers? Our investigations have shown us that not all browsers respect the HTTP cache directives in a uniform manner. For security reasons we do not wa...

How to get screen width without (minus) scrollbar?

How to get screen width without (minus) scrollbar? I have an element and need it's width without(!) vertical scrollbar. Firebug tells me body width is 1280px. Either of these work fine in Firefox: The...

10 Feb at 21:13

How to disable text selection highlighting

How to disable text selection highlighting For anchors that act like buttons (for example, the buttons on the sidebar of this Stack Overflow page titled , , and ) or tabs, is there a CSS standard way ...

How do I disable text selection with CSS or JavaScript?

How do I disable text selection with CSS or JavaScript? I am making a HTML/CSS/jQuery gallery, with several pages. I indeed have a "next" button, which is a simple link with a jQuery click listener. T...

30 May at 20:25

css 'pointer-events' property alternative for IE

css 'pointer-events' property alternative for IE I have a drop down navigation menu in which some of the title should not navigate to other page when clicked(these title open a drop down menu when cli...

Certain elements display smaller in Safari on Mac?

Certain elements display smaller in Safari on Mac? After fiddling around with an issue I am having I have come to this conclusion: my list Elements are displaying smaller in Safari on my Macbook than ...

23 May at 12:1

How can I hide select options with JavaScript? (Cross browser)

How can I hide select options with JavaScript? (Cross browser) This should work: It works in Firefox, but not Chrome (and probably not in IE, not tested). A more interesting example: ``` Hide me v...

9 Dec at 14:10

How to know whether refresh button or browser back button is clicked in Firefox

How to know whether refresh button or browser back button is clicked in Firefox How to know in Firefox whether refresh button is clicked or browser back button is clicked... for both events `onbeforeu...

How will Internet Explorer 8 affect QA testing for Web Applications

How will Internet Explorer 8 affect QA testing for Web Applications Now that IE 8 is available: [http://www.microsoft.com/windows/internet-explorer/worldwide-sites.aspx](http://www.microsoft.com/windo...