22/09/2016, 08:01
|
| | Fecha de Ingreso: noviembre-2015
Mensajes: 231
Antigüedad: 9 años, 2 meses Puntos: 86 | |
Respuesta: Modificar altura div con js style.height se usa para cambiar el valor del alto del elemento.Para obtener el alto del elemento sólo es necesario la propiedad heigth, offsetHeight o clientHeigth
[URL="http://www.google.es/search?q=element.height+vs+element.style.height&sp ell=1&sa=X&ved=0ahUKEwia1ICXk6PPAhXjA8AKHbATC-4QvwUIDCgA"]http://www.google.es/search?q=element.height+vs+element.style.height&sp ell=1&sa=X&ved=0ahUKEwia1ICXk6PPAhXjA8AKHbATC-4QvwUIDCgA[/URL]
Última edición por mpozo; 22/09/2016 a las 09:21
Razón: Faltó una opción
|