Line 22: | Line 22: | ||
body, html { | body, html { | ||
− | |||
height: 100%; | height: 100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | #header_img{ | ||
} | } | ||
+ | #main_content{ | ||
+ | margin: 0; | ||
+ | background: yellow; | ||
+ | position: absolute; | ||
+ | top: 50%; | ||
+ | left: 50%; | ||
+ | margin-right: -50%; | ||
+ | transform: translate(-50%, -50%) | ||
+ | } | ||
</style> | </style> | ||
Line 34: | Line 46: | ||
<body> | <body> | ||
− | <img src="https://static.igem.org/mediawiki/2018/b/b0/T--Melbourne--header_img.png"> | + | <div id="main_content"> |
+ | <img id="header_img" src="https://static.igem.org/mediawiki/2018/b/b0/T--Melbourne--header_img.png"> | ||
+ | </div> | ||
</body> | </body> | ||
Revision as of 06:05, 12 October 2018