// styleFloat, IE // cssFloat , Safari ou Firefox // styleFloat and cssFloat, Opera //assignation var el = document.getElementById(‘element_id’); el.style.styleFloat = ‘left’; el.style.cssFloat =...
Tag: css
function html2txt($document){ $search = array(‘@<script*?>.*?</script>@si’, // Strip out javascript ‘@<style*?>.*?</style>@siU’, // Strip style tags properly ...
<SCRIPT LANGUAGE=“JavaScript”> <!– Begin function getCSS() { datetoday = new Date(); timenow=datetoday.getTime(); datetoday.setTime(timenow); thehour = datetoday.getHours(); if (thehour > 20) display = “tree_twilight.css”; else...
// max-width // Ce code dit que si la largeur du document est supérieure à 1000px, alors il sera forcé à 1000px, sinon il...
#someElement { background: red; /* modern browsers */ *background: green; /* IE 7 and below */ _background: yellow; /* IE6 exclusively...