Team:Michigan/Template:Michigan Header
From 2012.igem.org
(Difference between revisions)
Line 82: | Line 82: | ||
} | } | ||
+ | /* make a class for text over image effect*/ | ||
+ | .text-image { | ||
+ | position: relative; | ||
+ | width: 100%; /* for IE 6 */ | ||
+ | } | ||
+ | .text-image h2 span{ | ||
+ | style="color:white; | ||
+ | background-color:#0a84c1; | ||
+ | font: bold 24px/45px Helvetica, Sans-Serif; | ||
+ | letter-spacing: -1px; | ||
+ | padding: 10px; | ||
+ | } | ||
+ | |||
+ | .text-image h2 { | ||
+ | position: absolute; | ||
+ | top: 200px; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | } | ||
</style> | </style> |
Revision as of 19:35, 9 June 2012