Difference between revisions of "Template:ImageGallery"
m (Still not working perfectly (doesn't vertically center), but fixing a few other problems related to the horizontal margin.) |
m (Removing the outer element widths as it causes a few issues.) |
||
| Line 18: | Line 18: | ||
#ifexpr: {{#var: number}} mod 2 | #ifexpr: {{#var: number}} mod 2 | ||
| <nowiki /> | | <nowiki /> | ||
| − | <li class="gallerybox | + | <li class="gallerybox"> |
| − | <div | + | <div> |
<div class="thumb" style="width: 155px; height: 155px"> | <div class="thumb" style="width: 155px; height: 155px"> | ||
<p style="max-width: none; max-height: none; height: 150px; margin: 2.5px"> | <p style="max-width: none; max-height: none; height: 150px; margin: 2.5px"> | ||