Template:Team:HokkaidoU Japan/Top Header/CSS
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
width:100%; | width:100%; | ||
} | } | ||
+ | |||
+ | #header-top img | ||
+ | { | ||
+ | -ms-interpolation-mode: bicubic; | ||
+ | max-width: 100%; | ||
+ | max-height: 100%; | ||
+ | } | ||
+ | * html body #header-top img { | ||
+ | width: expression(this.width >= this.height ? "100%" : "auto"); | ||
+ | height: expression(this.width <= this.height ? "100%" : "auto"); | ||
+ | } | ||
+ | |||
#header-top { | #header-top { | ||
width:100%; | width:100%; | ||
height:45px; | height:45px; | ||
- | background- | + | background-color:#d92424; |
} | } | ||
Revision as of 13:12, 16 October 2014