data/TWiki/PatternSkinCssCookbookCenterPage.txt
author Colas Nahaboo <colas@nahaboo.net>
Mon, 11 Aug 2008 20:33:37 +0200
changeset 2 7bc60a767fa4
parent 0 414e01d06fd5
permissions -rw-r--r--
TWiki-4.2.2 Release
     1 %META:TOPICINFO{author="TWikiContributor" date="1129333294" format="1.1" version="3"}%
     2 
     3 ---+!! PatternSkinCssCookbook Recipe: Center the page
     4 
     5 *This recipe shows how center the page horizontally and vertically.*
     6 
     7 <div class="twikiHelp">
     8 This line loads the extra style definition:
     9 <verbatim>
    10    * Set USERSTYLEURL = %ATTACHURL%/centerpage.css
    11 </verbatim>
    12 You can write this line in %SYSTEMWEB%.TWikiPreferences, in WebPreferences, in your user topic or on a single page.
    13 </div>
    14 
    15 
    16 %META:FILEATTACHMENT{name="centerpage.css" attr="" autoattached="1" comment="css to frame the page centered on the screen" date="1129323328" path="centerpage.css" size="259" user="TWikiContributor" version=""}%