Difference between revisions of "Template:ImageGallery"

From Bearscape Wiki
Jump to: navigation, search
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; width: 100%; height: 150px; margin: 2.5px auto">
+
<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>

Revision as of 21:00, 4 June 2015