Difference between revisions of "Template:ImageGallery"
m (Removing the outer element widths as it causes a few issues.) |
m (Blah, OK, so the outer div still needs a width for the comment, and some margin on the list item so it has some space between gallery items.) |
||
| Line 18: | Line 18: | ||
#ifexpr: {{#var: number}} mod 2 | #ifexpr: {{#var: number}} mod 2 | ||
| <nowiki /> | | <nowiki /> | ||
| − | <li class="gallerybox"> | + | <li class="gallerybox" style="margin-right: 5px"> |
| − | <div> | + | <div style="width: 155px"> |
<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"> | ||