Template:Imperial/09/CSS
From 2009.igem.org
(Difference between revisions)
(20 intermediate revisions not shown) | |||
Line 42: | Line 42: | ||
#II09_content_wrapper { | #II09_content_wrapper { | ||
- | width: | + | width: 725px; |
float: left; | float: left; | ||
padding: 0px; | padding: 0px; | ||
Line 55: | Line 55: | ||
#II09_content_boxtop { | #II09_content_boxtop { | ||
- | width: | + | width: 747px; |
height: 9px; | height: 9px; | ||
background:url(https://static.igem.org/mediawiki/2009/c/c8/II09_content_top.png) no-repeat; | background:url(https://static.igem.org/mediawiki/2009/c/c8/II09_content_top.png) no-repeat; | ||
Line 65: | Line 65: | ||
#II09_content_boxbottom { | #II09_content_boxbottom { | ||
- | width: | + | width: 747px; |
height: 9px; | height: 9px; | ||
background:url(https://static.igem.org/mediawiki/2009/b/b4/II09_content_bottom.png) no-repeat; | background:url(https://static.igem.org/mediawiki/2009/b/b4/II09_content_bottom.png) no-repeat; | ||
Line 84: | Line 84: | ||
text-align: justify; | text-align: justify; | ||
font:Calibri, Verdana, Arial, Geneva, sans-serif; | font:Calibri, Verdana, Arial, Geneva, sans-serif; | ||
+ | } | ||
+ | |||
+ | #II09_content_boxtop_purple { | ||
+ | width: 612px; | ||
+ | height: 7px; | ||
+ | background:url(https://static.igem.org/mediawiki/2009/e/ea/II09_content_top_purple.png) no-repeat; | ||
+ | background-position: bottom right; | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | #II09_content_boxbottom_purple { | ||
+ | width: 612px; | ||
+ | height: 7px; | ||
+ | background:url(https://static.igem.org/mediawiki/2009/c/c2/II09_content_bottom_purple.png) no-repeat; | ||
+ | background-position: top right; | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | display: block; | ||
} | } | ||
Line 127: | Line 147: | ||
</style> | </style> | ||
- | <!--[if | + | <!--[if IE 6]> |
<script type="text/javascript"> | <script type="text/javascript"> | ||
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. | function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. | ||
Line 133: | Line 153: | ||
var arVersion = navigator.appVersion.split("MSIE") | var arVersion = navigator.appVersion.split("MSIE") | ||
var version = parseFloat(arVersion[1]) | var version = parseFloat(arVersion[1]) | ||
- | if | + | if (version >= 5.5) |
{ | { | ||
for(var i=0; i<document.images.length; i++) | for(var i=0; i<document.images.length; i++) | ||
Line 160: | Line 180: | ||
window.attachEvent("onload", correctPNG); | window.attachEvent("onload", correctPNG); | ||
</script> | </script> | ||
+ | <![endif]--> | ||
</html> | </html> |
Latest revision as of 16:15, 21 October 2009