Questions tagged as 'cross-browser'

2
answers

Change the color of the placeholder without affecting the color of the "value"

In HTML5, we can make use of the placeholder attribute % (English) to give the user a hint about the type of data a given field accepts. To avoid confusion between data actually written by the user and the text with instructions, I wou...
asked by 06.03.2014 / 16:35
5
answers

How to use another language that does not JavaScript in the browser?

In spite of the huge number of programming languages in various environments (desktop, server, mobile devices), the browser continues to support one and only one language: JavaScript. The reason for this escapes me: even though there is a comp...
asked by 08.02.2014 / 08:43
3
answers

Customize the browser message to a "required"

With the attribute required , for example, in a field of type text , the browser will present a balloon to the user to realize that this field is required and should be filled in. The problem starts with the message itself bei...
asked by 06.03.2014 / 17:31
3
answers

Script is not working in IE

I'm using this script in Chrome and it works fine. But IE 8 or 9 does not work. I put a debugger and an alert to debug, but it does not even enter the function. $(document).on("mousedown", '#CentroCusto_new option', function (event) { aler...
asked by 12.03.2014 / 21:41
2
answers

How to remove bug from antialising lines generated in Firefox and IE?

I'm creating a border on my site, with background . It works perfectly in Chrome, but in Firefox and IE unwanted lines appear. I have already noticed that they are present in the CSS3 property of transform: scaleX (-1); in the Div effect I need...
asked by 06.03.2014 / 22:58
1
answer

How do I know if a feature is in the browser cache?

Is it possible to discover, via JavaScript and without any additional HTTP requests, whether or not a particular feature is in the browser cache? And if it is, get it also without this requisition? In my understanding, when the server submits...
asked by 13.09.2014 / 01:25
1
answer

CSS animation does not work in Mozilla

Well, I have a problem with a CSS animation. I made it work normally in Chrome and even in IE, but in Firefox it bugged. I've tried to put the prefix -moz- on some properties, but nothing works. I do not know if the way I did this a...
asked by 07.07.2016 / 20:06
1
answer

Can you make feature detection for CSS?

I know the feature detection ("discovery of functionality") technique - as well as feature inference - when it comes to JavaScript: if ( window.XMLHttpRequest ) { ... } But how can you do this for CSS too? For example from this other...
asked by 27.08.2014 / 16:13
1
answer

Multiple select rendering different for each browser

I have the following code: <select multiple="multiple" id="carros" size="1" name="carros"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="opel">Opel</op...
asked by 20.02.2014 / 21:28
3
answers

How do I debug a site on mobile devices?

I'm developing a website that, although it looks good on the desktop, is getting deformed when accessed via mobile devices. Specifically, some issues occur when using the Android default browser , others when using Chrome pro Android. I do not...
asked by 27.02.2015 / 21:08