I would like to display images in tables, similar to <gallery> but I want the images to be in a table across the width of the page.
Specifically, I want two columns of images that span the entire width of the page, with each image taking 50% (or slightly less if borders are used) of the available page width.
I've tried various combinations of style and such and they all seem to be ignored.
Is there a way to display images relative to the width of the page? or fitted inside tables?
{| |- |style="width: 50%;"|[[File:image1.jpg|caption]] |style="width: 50%;"|[[File:image2.jpg|caption]] |}
does not work.
Is it as simple as this?
{| width=100% |- |style="width: 50%;"|[[File:image1.jpg|caption]] |style="width: 50%;"|[[File:image2.jpg|caption]] |}
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Yan Seiner Sent: Saturday, October 12, 2013 9:46 AM To: MediaWiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Images in tables
I would like to display images in tables, similar to <gallery> but I want the images to be in a table across the width of the page.
Specifically, I want two columns of images that span the entire width of the page, with each image taking 50% (or slightly less if borders are used) of the available page width.
I've tried various combinations of style and such and they all seem to be ignored.
Is there a way to display images relative to the width of the page? or fitted inside tables?
{| |- |style="width: 50%;"|[[File:image1.jpg|caption]] |style="width: 50%;"|[[File:image2.jpg|caption]] |}
does not work.
No joy. :(
The images are shown full-size.
John Lavalie wrote:
Is it as simple as this?
{| width=100% |- |style="width: 50%;"|[[File:image1.jpg|caption]] |style="width: 50%;"|[[File:image2.jpg|caption]] |}
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Yan Seiner Sent: Saturday, October 12, 2013 9:46 AM To: MediaWiki-l@lists.wikimedia.org Subject: [MediaWiki-l] Images in tables
I would like to display images in tables, similar to <gallery> but I want the images to be in a table across the width of the page.
Specifically, I want two columns of images that span the entire width of the page, with each image taking 50% (or slightly less if borders are used) of the available page width.
I've tried various combinations of style and such and they all seem to be ignored.
Is there a way to display images relative to the width of the page? or fitted inside tables?
{| |- |style="width: 50%;"|[[File:image1.jpg|caption]] |style="width: 50%;"|[[File:image2.jpg|caption]] |}
does not work.
mediawiki-l@lists.wikimedia.org