Fork me on GitHub






largeur des colonnes
Régulier
Inscrit: 28/04/2011 11:03
Messages: 191
Bonjour,

J'aurai voulu réduire la colonne de droite mais je n'y arrive pas. J'ai réussi pour celle de gauche.
A la base elles sont a 240 px.

/* Thanks to Snow77, Skalpa and Leostotch for the initial work, Dugris for help  *//* Mor.pho.GEN.e.sis version 2.1 by kris (http://www.xoofoo.org and https://www.frxoops.org) *//* file name : layout-soup.css  - 12 01 2008 *//* Here normally, you have only to amend dimensions and the visual one of the canvas strictly speaking *//*============= Canvas rules ============*/ #xo-canvas-columns { width: 100%; border-collapse: collapse; }  #xo-canvas-leftcolumn { width: 200px; } /* Page [center column] rules */  #xo-page { min-height: 540px; padding-top: 10px; }  * html #xo-page { height: 540px; }  #xo-canvas-rightcolumn { width: 130px; }  #xo-canvas-leftcolumn, #xo-page, #xo-canvas-rightcolumn { vertical-align: top; } /*========== Canvas rules (when columns are visible) ===========*/  #xo-canvas.leftcolumn-layout #xo-canvas-columns, #xo-canvas.threecolumns-layout #xo-canvas-columns {}  #xo-canvas.rightcolumn-layout #xo-page, #xo-canvas.threecolumns-layout #xo-page { border-right-width: 0; }  #xo-canvas-bottom, #xo-canvas-footer {} /*=========== Center blocks =============*/  #xo-page-topblocks { padding: 0 10px; }  #xo-page-bottomblocks { padding: 0 10px 10px; }  #xo-page .xo-blockszone .xo-block { margin-bottom: 10px; } /* ------- Top and bottom zones (2 columns) ------- */  #xo-page-topleftblocks, #xo-page-bottomleftblocks { float: left; width: 49.5%; }  #xo-page-toprightblocks, #xo-page-bottomrightblocks { float: right; width: 49.5%; }  #xo-page-topcenterblocks, #xo-page-bottomcenterblocks { clear: both; } /* ------- Top and bottom zones (3 columns) ------- */  #xo-page .xo-lcrpageblocks .xo-blockszone, #xo-page .xo-lcrpageblocks .xo-blockszone { float: left; clear: none; width: 33%; }  .xo-lcrpageblocks #xo-page-topleftblocks, .xo-lcrpageblocks #xo-page-topcenterblocks, .xo-lcrpageblocks #xo-page-bottomleftblocks, .xo-lcrpageblocks #xo-page-bottomcenterblocks { margin-right: .5%; }  #xo-page .xo-blockszone .xo-blockcontent { min-height: 50px; }  * html #xo-page .xo-blockszone .xo-blockcontent { height: 130px; } /* Give a min-height to centerleft/centerright blocks, and lcr center blocks */  #xo-page-topleftblocks .xo-block, #xo-page-bottomleftblocks .xo-block, #xo-page-toprightblocks .xo-block, #xo-page-bottomrightblocks .xo-block, .xo-lcrpageblocks #xo-page-topcenterblocks .xo-block, .xo-lcrpageblocks #xo-page-bottomcenterblocks .xo-block { min-height: 100px; }  #xo-page-topblocks .xo-block, #xo-page-bottomblocks .xo-block { padding-top: 2px; }  #xo-page-topblocks * >.xo-block, #xo-page-bottomblocks * >.xo-block { padding-top: 0; }  #xo-page .xo-blockszone > .xo-block { padding-left: 4px; }  #xo-page .xo-blockszone .xo-block:before { display: block; height: 9px; margin-left: -4px; margin-right: -1px; }  #xo-page .xo-blockszone .xo-block:after { display: block; height: 7px; margin-left: -4px; margin-right: -1px;

Posté le : 09/06/2011 10:54
Partager Twitter Partagez cette article sur GG+
Re: largeur des colonnes
Régulier
Inscrit: 28/04/2011 11:03
Messages: 191
resolu

Posté le : 09/06/2011 12:30
Partager Twitter Partagez cette article sur GG+
Re: largeur des colonnes
Supporter Xoops
Inscrit: 09/01/2005 13:37
De Breizh
Messages: 16972
Citation :
angelweb a écrit :
resolu

Cool alors, mais peut être que la solution intéressait également quelques personnes actuelles ou futures, non ?

Posté le : 09/06/2011 19:55

La connaissance s'accroît quand on la partage ...
Partager Twitter Partagez cette article sur GG+
Re: largeur des colonnes
Régulier
Inscrit: 28/04/2011 11:03
Messages: 191
J ai juste redimensionner le contenu des blocs de la colonne qui était trop large.

Posté le : 10/06/2011 13:52
Partager Twitter Partagez cette article sur GG+

 Haut   Précédent   Suivant



Vous pouvez voir les sujets.
Vous ne pouvez pas débuter de nouveaux sujets.
Vous ne pouvez pas répondre aux contributions.
Vous ne pouvez pas éditer vos contributions.
Vous ne pouvez pas effacez vos contributions.
Vous ne pouvez pas ajouter de nouveaux sondages.
Vous ne pouvez pas voter en sondage.
Vous ne pouvez pas attacher des fichiers à vos contributions.
Vous ne pouvez pas poster sans approbation.

Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

184 Personne(s) en ligne (153 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 184 | Plus ...