Is there a way to display 2 or 3 images, side by side, so that they span the entire page width?

gallery does something like what I need...

But I'd like to be able to put the images in a table with even column widths so I have the images evenly spaced across the page.

My current attempt (template):

<div class="onlyinprint" class="gallery2">
{|width=100%
|-
|[[File:{{{1}}}|frame|{{{2}}}]]
|[[File:{{{3}}}|frame|{{{4}}}]]
|}
</div>

and in Common.css:

.gallery2 img { width: 100%; }

I still get small images; about 1/2 the cell width, but spaced evenly across the page.

How do I get images to fill the available table cell?

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to