[Webcom] [OSGeo] #196: Add new style for table in mediawiki

OSGeo trac_osgeo at osgeo.org
Fri Feb 1 17:19:22 EST 2008


#196: Add new style for table in mediawiki
----------------------------------+-----------------------------------------
Reporter:  yjacolin               |       Owner:  webcom at lists.osgeo.org
    Type:  enhancement            |      Status:  new                   
Priority:  normal                 |   Component:  WebSite               
Keywords:  css, table, mediawiki  |  
----------------------------------+-----------------------------------------
 This css will allow to create nicer table easily:
 | class="wikitable" style="text-align:center"
 !title  !! title2
 |blabla || blabla2
 |-
 |}

 /*****
 ** Table formatting
 *****/
    table.wikitable,
    table.prettytable {
       margin:1em 1em 1em 0;
       background:#F9F9F9;
       border:1px #AAA solid;
       border-collapse:collapse;
       }

    table.wikitable th, table.wikitable td,
    table.prettytable th, table.prettytable td {
       border:1px #AAA solid;
       padding:0.2em;
       }

    table.wikitable th,
    table.prettytable th {
       background:#F2F2F2;
       text-align:center;
       }

    table.wikitable caption,
    table.prettytable caption {
       margin-left:inherit;
       margin-right:inherit;
       }

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/196>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Webcom mailing list