Últimos snippets de alberto
<< Anterior
Siguiente >>
Evitar el cache de los css y js
Consiste en colocar en el link del css la fecha de modificación de la hoja de estilos.
Visto en http://icebeat.bitacoras.com/post/283/evitar-el-cache-de-los-css-y-js
function version($file) { } <link href="<?php echo version('css.css'); ?>" rel="stylesheet" type="text/css" />
En PHP css javascript cache por alberto hace on 29/3/08 | Comentarios
Clearfix CSS Hack
Más info en http://perishablepress.com/press/2008/02/05/lessons-learned-concerning-the-clearfix-css-hack/
/* slightly enhanced, universal clearfix hack */ .clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; } .clearfix { display: inline-block; } /* start commented backslash hack */ * html .clearfix { height: 1%; } .clearfix { display: block; } /* close commented backslash hack */
En CSS hack float clear por alberto hace on 17/2/08 | Comentarios
<< Anterior
Siguiente >>
