Questions tagged as 'html5'

1
answer

Show square added within HTML svg?

I want that by clicking inside the gray square, I draw a square of 10px x 10px in the place I clicked, I add the element inside the SVG, but it does not draw it. <!DOCTYPE html> <html lang="en"> <head> <meta charset="U...
asked by 14.06.2018 / 04:23
2
answers

Return of strings in thousands of separators Javascript [duplicated]

I have this little script that will place thousands separators in an html input. The problem is presented in mobile, when returns the separated numbers, return the complete chain, that is to say I put 10000 and it returns 10.1000 va...
asked by 09.03.2018 / 21:08
2
answers

Center div below another div in CSS

I have this HTML code: <body> <div class="center"> En este sitio web se usan los siguientes servicios: <dl> <dt>S3</dt> <dd>- Usaremos un S3 Bucket.</dd> </dl> Para comenzar, por favor hag...
asked by 18.03.2018 / 05:02
1
answer

Is it possible to run a JavaScript file in sandbox mode?

I am developing a project in which other programmers can collaborate with their own HTML + JavaScript code. For security reasons I do not want your JavaScript code to have full access to the system, although I do want some access (eg your code c...
asked by 23.07.2017 / 02:04
1
answer

Apply css style to a single Laravel layout element

When I apply this style to the layout: <!-- Nota: Aqui empieza codigo de menu --> <STYLE TYPE="text/css"> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are o...
asked by 15.02.2018 / 19:30
2
answers

Drag or move a dialog element with the mouse

I would like to know how I can do to move a dialog with the mouse, only with javascript and css code, without using other libraries like Jquery Bootstrap, etc. <!DOCTYPE html> <html lang="en"> <head> <meta cha...
asked by 17.02.2018 / 17:09
2
answers

Problems generating a table with php from a two-dimensional array

Hello this is my code and although I put the rowspan to 3 does not generate the table correctly, I try to generate a table from a two-dimensional array with PHP but when formatting the table does not come out as it should, I can not find the err...
asked by 09.01.2018 / 23:55
1
answer

How to do so that with fadeOut the div does not disappear?

Good morning, my problem is that when the word hello disappears, the world comes to occupy the place of hello. Is the div deleted when using fadeOut? How to make this not happen? <!DOCTYPE html> <html lang="es"> <head&g...
asked by 15.12.2017 / 21:50
1
answer

bootstrap modal window does not close

My modal window does not close when I click on the close button, previously it worked correctly and now it does not close anymore, this is the html code of the close button: <div id="modalContractCandidatesPre" class="modal fade" data-ke...
asked by 23.11.2017 / 23:53
2
answers

how to center thumbnails on a web page?

<div class="row"> <div class="col-md-3"> <div> <a href="#"> <img src="https://i.ytimg.com/vi/kpvKA0vhaT0/maxresdefault.jpg" class="rounded img-thumbnail img-responsive"> </a> </div> <...
asked by 09.02.2018 / 01:20