Template:Regional Europe 2012 Page CSS

From 2012.igem.org

(Difference between revisions)
Line 6: Line 6:
<style type="text/css">
<style type="text/css">
-
#nav { width: 150px; margin-left: 10px; }
+
#block {   margin-top: 5px; /* target only IE8 + Firefox browsers */ }  
-
body > div#nav { width: 150px; margin-left: 20px; }
+
#block-block-10, x:-moz-any-link { /* target only Firefox, overriding the style above */  margin-top: 20px; }  
 +
* html #block { /* target IE6 only */  margin-top: 50px; }
 +
 +
*+html #block-block-10 { /* target IE7 only */  margin-top: 100px; }
* {
* {

Revision as of 15:16, 1 March 2012