17 May 2009 View Comments

Firefox 3 Only CSS Hack

Firefox 3 has been troublesome recently, especially since we are now testing for IE6,7 and 8 as well. I managed to find a Firefox 3 only hack to help with those sticky situations: html>/**/body .TEST, x:-moz-any-link, x:default { } Works like dream!

Tags: , , , ,
9 September 2008 View Comments

Reset CSS

Reference for resetting CSS /* RESET */ html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p, blockquote,fieldset,input { margin: 0; padding: 0; } h1,h2,h3,h4,h5,h6,pre,code,address,caption,cite,code,em, strong,th { font-size: 1em; font-weight: normal; font-style: normal; } ul,ol { list-style: none; } fieldset,img { border: none; } caption,th { text-align: left; } table { border-collapse: collapse; border-spacing: 0; }

Tags: