data/TWiki/PatternSkinCssCookbookCenterPage.txt
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     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=""}%