All Downloads are FREE. Search and download functionalities are using the official Maven repository.

demos.centered-fluid-automargin.xhtml Maven / Gradle / Ivy

There is a newer version: 9.11.1
Show newest version


  
    Flying Saucer: Centered Fluid Content with Auto Margins
    
    
  

  
    
Pure CSS Layouts

Centered Fluid Content with Auto Margins: This sample page, using ideas from http://bluerobot.com/web/css/center1.html, shows a simple, centered-content fluid layout where the width of the content is fixed, and where the content is centered by setting margins to "auto". Note in this case the body has no left/right margin set (as in the other centered content example).

Note in this example the layout will break because of the "pre" block below--but holds up pretty well till you reduce beyond the minimum necessary for the preserved formatting.

        body {
            margin: 50px 0px;
            font-size: 12px;
            text-align: center;
        }

        #content {
            width: 500px;
            margin: 0px auto;
            overflow: auto;
            padding: 0px;
            text-align: left;
        }

        p, pre {
            margin: 0px;
            padding: 10px;
        }
        

Por efika lingvoinstruado Plurlingveco La Esperantokomunumo estas? Homa emancipigxo projekto por ebligi al cxiu homo partopreni kiel individuo en la. Por la provizo de tiu sxanco Lingvaj rajtoj La malegala disdivido de. Kies parolantoj estas senescepte du aux plurlingvaj Cxiu komunumano akceptis la taskon lerni. En kursoj por la lingva! Grandan diversecon de lingvoj en la mondo kiel baron al komunikado!





© 2015 - 2024 Weber Informatics LLC | Privacy Policy