Difference between revisions of "Template:ImageGallery"
m (Yeah... missing a semi-colon can make things not work right sometimes.) |
m (Still not working perfectly (doesn't vertically center), but fixing a few other problems related to the horizontal margin.) |
||
| Line 20: | Line 20: | ||
<li class="gallerybox" style="width: 155px"> | <li class="gallerybox" style="width: 155px"> | ||
<div style="width: 155px"> | <div style="width: 155px"> | ||
| − | <div class="thumb" style="height: 155px"> | + | <div class="thumb" style="width: 155px; height: 155px"> |
| − | <p style="max-width: none; max-height: none | + | <p style="max-width: none; max-height: none; height: 150px; margin: 2.5px"> |
<span class="plainlinks">[{{#var: value}} <img src="{{#var: value}}" style="max-width: 100%; max-height: 100%">]</span> | <span class="plainlinks">[{{#var: value}} <img src="{{#var: value}}" style="max-width: 100%; max-height: 100%">]</span> | ||
</p> | </p> | ||