Difference between revisions of "Team:TU Darmstadt/Templates/CSS"
Line 340: | Line 340: | ||
/* Figure classes to include images */ | /* Figure classes to include images */ | ||
.centerFig { | .centerFig { | ||
+ | max-width: 760px; | ||
margin:0 auto; | margin:0 auto; | ||
color: #4e7085; | color: #4e7085; | ||
text-align: center; | text-align: center; | ||
+ | overflow: hidden; | ||
} | } | ||
Line 349: | Line 351: | ||
width: 50%; | width: 50%; | ||
float: left; | float: left; | ||
+ | overflow: hidden; | ||
} | } | ||
Line 355: | Line 358: | ||
width: 50%; | width: 50%; | ||
float: right; | float: right; | ||
+ | overflow: hidden; | ||
} | } | ||
Line 466: | Line 470: | ||
<div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> | <div id="contentContainer"> <!--The closing tag for contentContainer should be placed at the bottom of each content page.--> | ||
− | + | <figure class="leftFig"> | |
+ | <img src="https://static.igem.org/mediawiki/parts/4/46/ENM_small.gif"> | ||
+ | <figcaption><b>Figure 1:</b> This is Mr. Sexy Protein dancing for your pleasure.</figcaption> | ||
+ | </figure> | ||
</html> | </html> |
Revision as of 09:21, 16 September 2015