Questions tagged as 'html'

1
answer

Can a flexible div be created in height?

I would like to create a div that when enlarging the browser page, will grow as an image does with width: 100%; height:auto; Is there any way to do it today? My intention would be to create a div with a 16: 9 aspect ratio that incre...
asked by 17.10.2017 / 12:10
2
answers

Add divs around another div

I have the following: * { font-family: Arial, Helvetica, sans-serif; } .x-y-center { display: flex !important; justify-content: center !important; align-items: center !important; text-align: center !important; } .g...
asked by 07.04.2017 / 18:33
5
answers

Hide a div tag in HTML

I have the following code: <div class="auto" id="auto"> Ocultar </div> They could tell me if the tag has any property to hide.     
asked by 02.08.2018 / 22:27
3
answers

How do I insert a code viewer on my page?

I want to put this type of code viewer on my web page. How can I do it?     
asked by 21.05.2016 / 23:19
5
answers

I can not center HTML form elements

I'm with something simple, but for some reason I can not achieve it. As the title says, I can not center the elements of an HTML form. I wanted to see if they could give me a hand. Here the code: <body> <object id="header" data="h...
asked by 03.10.2016 / 20:22
3
answers

Limit input type color only to black and white

I'm making a script in which you can change color with input type="color" What I want is that in the input instead of choosing the whole range of colors it gives, I can only choose between white or black. Is that possible ??...
asked by 10.10.2016 / 13:40
1
answer

How can I create disorganized bootstrap columns?

I would like to create something like this: link But I would like to create it using bootstrap to make it responsive, the problem is that the columns have different sizes and do not go linear like when you work the columns in boot...
asked by 06.02.2016 / 13:36
4
answers

Problem in count php

I do not have an error in the connection, but it does not show me correctly the number of pending tickets that I am seeing in the system, try to change the values of tipo_solicitud = 1 && status = 1 to another but it keeps showing...
asked by 17.04.2018 / 21:58
4
answers

Validate a Checkbox with JQuery

I would like to know how to validate a Checkbox with JQuery in a small form. <form action=""> <a>Correo: </a> <input type="email" name="correo"> <br> <a>Telefono: </a>...
asked by 31.03.2016 / 21:19
2
answers

Center text of an HTML label

I have a problem, and that is that I'm doing a program with jquery, and for each box I'm using a label (teacher's requirements), but I can not center the letters on the edges, they're going towards the top edge. I leave the source code...
asked by 04.04.2018 / 17:01