Questions tagged as 'html5'

1
answer

how to do a responsive div?

I have several div like these in my page that when doing hover on a map they will float in that position that I wish them, but I have a problem and that is when the resolution changes the page is responsive but the divs do not and they stay the...
asked by 17.05.2018 / 15:38
2
answers

Is it possible to convert html positioning to x, y coordinates?

I have the following problem. For example: I want to click on an image (this image has 3 cars, seen from the sky) when I click on a car I want to show the information of that car. Each car has its coordinate (x, y) in the image. I ha...
asked by 01.03.2018 / 22:00
1
answer

How to create a textArea html5 that indicates the number of rows?

I'm starting with html5 and javascript and I would like to know how to place the row numbers in a textArea, as shown in the image, also if I can do the same but for the columns. Or if there is a special component for this.     
asked by 26.08.2018 / 10:10
3
answers

The links must have text

Sorry I have the following problem and I have looked through Google hours and hours, but I can not find a solution. When I use the Google AUDITS inspector, to see the performance, accessibility, etc. I get the following: Links must have discern...
asked by 10.12.2017 / 01:32
3
answers

HTML looks different between firefox and chrome

The margin-top of the internal elements of my container in Firefox can not be seen, while in Chrome it can be seen, I leave images attached: The code is as follows: * { padding: 0; margin: 0; } .initWrapPages {...
asked by 06.12.2017 / 12:57
2
answers

How to change the alert message for forms inputs?

How do I place a personalized message to the Firefox, Chrome and Edge alerts when the Inputs type: text, number, tel, etc. Have they not been filled in or have erroneous content? For example: Mail: Empty? {$ Message ("Please place a valid...
asked by 18.01.2018 / 02:43
1
answer

The image with display none I want it not to load

I have a question, I am optimizing a website and in the mobile version I am putting smaller images and therefore I am hiding the desktop image with CSS display none. The problem of mine is that no matter how much you put a display none of the de...
asked by 19.01.2018 / 15:39
3
answers

Get the variable id that contains a label to

I'm trying to get through JS the id that has a tag. The id is going to vary, so when doing onClick I have to know it. <a href="#" role="button" onClick="abrirNoticia();" id="id">Título</a> As for the function, I was using the fo...
asked by 18.07.2017 / 20:21
1
answer

I need to validate income of multiples of 100 by javascript, but it does not work

The following javascript does not work for me, I need help function validaMultiplos100(num) { if (num % 100 == 0) { saldo.setCustomValidity(''); } else { saldo.setCustomValidity("No es multiplo de 100");...
asked by 07.07.2017 / 02:17
2
answers

How to validate the first option of a select using the 'change' event

I have a <select> with several <option> that take different values as the user is choosing a different one. The problem is that the first option will never take its value unless the user activates the 'change' event, th...
asked by 29.10.2018 / 14:07