Questions tagged as 'html'

2
answers

How to return a record that contains several values separated by comma

I have this table in the database: Tabla de Ejemplo: id - registro - valor 1 - compras - 1,2,6 2 - ventas - 3,4 3 - deudas - 5 I want to make a query where I send only the number 3 and bring me the record 2 in this exampl...
asked by 18.08.2016 / 22:31
4
answers

Add a complete html to a div

How about, I'm trying to add an html file to a div <!DOCTYPE html> <html lang="en"> <head> <title>Inicio</title> </head> <body> <div> <!-- este div donde agregare un html--> &l...
asked by 05.05.2016 / 20:56
2
answers

Difference between querySelector, querySelectorAll, getElementbyId, getElementbyTag

I would like if someone could explain to me very easily what are the differences between these 'selectors' since I am struggling to understand them! Especially among the querys and the get element. Thank you very much!     
asked by 03.09.2016 / 22:54
2
answers

Place image as pointer

Good, I've been changing the pointer for other styles like "wait", "crooshair", etc. However I am unable to change the cursor for any image I have on the pc. HTML <html> <head> <script src="DH18.js"></script> <l...
asked by 11.08.2017 / 13:23
1
answer

Center content in bootstrap

The content of column 2 comes out of the box in a certain width of the browser. How could I avoid this? Image: <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" rel="stylesheet"/> <!d...
asked by 17.08.2017 / 12:50
1
answer

Google does not use the meta description when indexing URL

I understand that the fact of using a meta-description does not mean that Google is going to use that, you may consider that another portion of the text is more important. The fact is that in the code I have defined that the meta-description is...
asked by 31.07.2017 / 15:30
1
answer

Simplify CSS

I have a margin like this ( Fiddle example ): .menu--margen { background: #f4f4f4; border-right: 1px solid #bbbbbb; border-left: 1px solid #bbbbbb; border-top: 1px solid #bbbbbb; border-bottom: none; margin: 3px auto;...
asked by 11.04.2016 / 22:03
3
answers

Special PHP characters

Good morning, today I come with a small problem that is this echo $consulta; to which he replies with: SELECT SUM(carrito_cant) as cantidad FROM carrito_tb WHERE carrito_folio='3041M�Ra' and carrito_NP='NA'; Devido to the character or...
asked by 10.02.2016 / 00:27
1
answer

How to do smooth scrolling towards an element

I am looking for a way to scroll towards an element with a smooth animation. For this I have helped with this site . function scroll() { const a = document.getElementById("p"); a.scrollIntoView({ behavior: "smooth...
asked by 21.07.2017 / 22:32
2
answers

How does CSS opacity work?

Why does it work when the Padre has opacity: 1 and the Hijo-1 have opacity: 0 and NO when the Padre has opacity: 0 and Son-1 has opacity: 1 ? The following code: .Caja { width: 100px;...
asked by 09.03.2018 / 19:29