Difference between revisions of "Template:Hamilton McMaster"
Line 275: | Line 275: | ||
nav ul li { display: inline; } | nav ul li { display: inline; } | ||
nav ul li a img { width: 50px; height: 50px; } | nav ul li a img { width: 50px; height: 50px; } | ||
− | + | .wraptocenter { | |
+ | display: table-cell; | ||
+ | text-align: center; | ||
+ | vertical-align: middle; | ||
+ | width: 200px; | ||
+ | height: 200px; | ||
+ | background-color: #999; | ||
+ | } | ||
+ | .wraptocenter * { | ||
+ | vertical-align: middle; | ||
+ | } | ||
</style> | </style> | ||
<!-- End of CSS --> | <!-- End of CSS --> |
Revision as of 03:17, 18 September 2015