Questions tagged as 'html5'

1
answer

Share div content on Facebook

I would like to share the content of a div in Facebook, the div is within a cycle for of PHP, therefore various information is loaded in a table. What I would like to know is how to share the content of each of the div...
asked by 12.02.2016 / 21:29
1
answer

Absolute positioning from outside the edge

When I position an element absolutely within another element (with relative position), the coordinates that I put are counted from the ends of the container without taking into account the edges (which would be equivalent to the inner part of th...
asked by 21.10.2016 / 06:53
1
answer

How to correctly use the filter property in png CSS3 images

I already know that this could be done with other programs, but it has caused me curiosity in CSS. As you will see, img-amarillo has the same filter as img2-amarillo , however in the first one it does not change color and in...
asked by 27.02.2018 / 16:46
2
answers

Sound in a JavaScript Alert

I hope you can support me with the following question. At the moment of sending a alert in a validation I would like a sound to be output along with the alert as I can do that. I have tried several things but they do not work...
asked by 30.07.2018 / 18:59
1
answer

Centering elements with CSS in Bootstrap

I am trying to center the following without losing the responsive and there is no way: <div class="row"> <span class="col-md-1 text-right">Periodo:</span> <div class="col-md-2"> <input...
asked by 29.11.2016 / 10:20
3
answers

Scale background image maintaining appearance

I am creating an adaptive image gallery where thumbnails of the image are displayed in squares. For this I put the background images using background-image and so that the image occupies the whole square, I use background-size:cover...
asked by 13.05.2016 / 06:24
3
answers

I do not recognize pattern in HTML5 input

I have a problem in a form where I collect data with input and I want it to only collect digits instead of letters. I am using an IndexedDb database and I keep it in the same as null because of the type of object store that I have created...
asked by 22.06.2016 / 20:24
2
answers

fixed html table header inside div

I have an html table inside a div with scroll in Y, inside the table I have a header that I want to be fixed, how can I make the header of the table stay fixed knowing that the table is inside a div. div.tableContainer { wid...
asked by 29.08.2018 / 18:19
1
answer

Define value min and max of newly created input in javascript

I create an input in the following way: var monto_inp = document.createElement("input"); monto_inp.name = "monto"; monto_inp.placeholder = "Monto"; monto_inp.classList.add('detalle_pago'); monto_inp.classList.add('monto'); I would like to a...
asked by 01.09.2018 / 13:05
3
answers

how to use a href on a label other than (a)

I'm using a tag with a href that calls id to do its function <a href="#openModal">Abrir</a> It happens that I can not use a tag at the moment because I'm hurting all the work, I want to know what other tag I can use and th...
asked by 25.09.2018 / 00:12