Search for "gallerytext" in the css files your skin uses. (In ours, it's in main.css in our custom skin directory)
Find the entry for "gallerytext"
Add "text-align: center;" to the definition of div.gallerytext.
Save, refresh, enjoy!
FWIW, our div.galleytext definition:
div.gallerytext { overflow: hidden; font-size: 94%; padding: 2px, 4px; text-align: center; }
Regards,
-- =Don= "This message represents the official view of the voices in my head"
On Oct 5, 2009, at 1:48 PM, David Price wrote:
Dear All,
We currently use the "Gallery" function to show pictures in a gallery page. After uploading the images the image and image text are added, as per below
<gallery border perRow="5"> Image:LMDC_elevation 1.jpg|Elevation to Carlisle Road Image:LMDC_corridor.jpg|Main Corridor Image:LMDC_store 1.jpg|Storage Racking Image:LMDC_store 2.jpg|Storage Racking Image:LMDC_elevation 2.jpg|Elevation to Carlisle Road </gallery>
I cant centre the text within a gallery, does anyone know how to do this.
Many Thanks
David
This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l