Posts Tagged ‘internet explorer’
Centrar div y contenido con CSS [resuelto]
Os voy a dejar algunos códigos de ejemplos para que veáis cómo centrar horizontalmente y verticalmente un div (y/o su contenido) utilizando CSS. Las explicaciones están (en inglés) en el propio código. Es fundamental definir correctamente el DTD (primera línea del código). En mi ejemplo uso el transitional. Ejemplo 1: centrar un div horizontalmente y [...]
Empty DIV takes up space in IE8 [SOLVED]
It is a common practice when programming web applications to declare empty div’s and fill them (if necessary) with data using JS (innerhtml or another method). There might not be a way to know if some of these div will be empty (you just declare a html structure but the data is generated in another [...]
Browser detection with javascript
In a perfect world, all the major browsers would co-exist happily together, supporting the same set of objects and features. But then again, in that world, I’d be on an island enjoying the sun. Before we reach that place, this tutorial looks at how to detect support for a particular JavaScript property or method before [...]