data/TWiki/PatternSkinCssCookbookCenterPage.txt
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
     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=""}%