Fork me on GitHub






Comment faire pour que le bloc centrale remplisse l'ecran ?
Newbie
Inscrit: 06/08/2005 17:02
Messages: 2
Voila j ai telechargé un theme sur xoops design et j'essaie de le modifier pour qu'il soit adapter à la largeur de mon écran (1280*1024) je suis arrivé a modifier la disposition du texte au milieu des boutons enfin de tout le reste sauf du background blanc qui vient derrier le bloc central...

Voila ce que j'ai dans mon CSS :

/* CSS partie  DESIGN */
body {    
    
padding:0;
    
margin:0;
    
color:#414141; 
    
background:#7B7B7B url('images/background.jpg') repeat-x;
    
font-size11px;  
    
font-familyVerdana;
}

img{
    
border0px;
}

#menu_img{
floatleft;
    
backgroundurl('images/menu.gif'no-repeatheight:24pxwidth115px
}
#menu_texte{
color#FFFFFF; margin-top: 4px; text-align: center; margin-right:15px;
}

#menu_texte a{
color#FFFFFF; width: 115px
}
table {
    
margin0;
    
padding0
    
font-size11px
}
#menu {
positionabsoluteleft29%; top191pxwidth590px}
input {
    
font-family:VerdanaArialHelveticasans-serif;
    
font-size:9px;
    
backgroundtransparent;
    
border1px solid silver;
}
select,textarea{
    
font-family:VerdanaArialHelveticasans-serif;
    
font-size:9px;
        
border1px solid silver;
}
table td 
{
    
padding0;
        
width115px
    border
-width0;
    
vertical-aligntop
    
font-family:
    
Verdana;
}
#englobe{
    
positionabsolute;
    
width1250px;
    
margin-left: -360px;
    
left29%;
    
top0px;
    
height auto;
}


#contenu{
    
background:url(images/milieu.jpgrepeat-y;
        
heightauto;
}


#header { 
    
background:url(images/header.jpgno-repeat
        
width:1250px;
    
height:229px;
}


{
    
color#414141; 
    
text-decorationnone
    
background-colortransparent;
}
    
a:hover {
    
color#000000;
    
text-decorationNONE;
}
.
item {border0px;}
.
itemHead {padding-top:6pxfont-style:boldfloatleft;background:url('menu.gif'no-repeatheight:23pxwidth:510pxmargin-left:1pxpadding-left7px;}
.
itemInfo {text-alignrightpadding3px;    background-image: ;}
.
itemPoster {font-size85%; font-style:italic;}
.
itemPostDate {font-size85%; font-style:italic;}
.
itemStats {font-size85%; font-style:italic;}
.
itemBody {padding-left0px;background-image:}
.
itemText {padding5pxmargin-top0pxmargin-bottom0pxline-height:1.5em;         text-alignjustify;}
.
itemText:first-letter {font-size155%; font-weightbold;}
.
itemFoot {text-alignrightpadding3px;     }
.
itemAdminLink {font-size10px;}
.
itemPermaLink {font-size10px;}
.
itemTitle a {font-size98%; font-weightbold; }
th {background:url('menu_2.gif'repeat-xheight:23pxpadding 2pxvertical-align middlefont-familyVerdanaArialHelveticasans-serif;}
.
head a{
color#FFFFFF;
}
.
outer {border1px solid silver;}
.
head {background:#F50000; padding: 5px; color: #ffffff; font-weight: bold;}
.even {background-color#F5F6FA; padding: 5px;}
.odd {background-color#F5F6FA; padding: 5px;}
.foot {background-color#F5F6FA; padding: 5px; font-weight: bold;}

tr.even td {background-color#F5F6FA; padding: 5px;}
tr.odd td {background-color#F5F6FA; padding: 5px;}
div.errorMsg background-color#FFCCCC; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.confirmMsg background-color#DDFFDF; color: #136C99; text-align: center; border-top: 1px solid #DDDDFF; border-left: 1px solid #DDDDFF; border-right: 1px solid #AAAAAA; border-bottom: 1px solid #AAAAAA; font-weight: bold; padding: 10px;}
div.resultMsg background-color #CCCCCC; color: #333333; text-align: center; border-top: 1px solid silver; border-left: 1px solid silver; font-weight: bold; border-right: 1px solid #666666; border-bottom: 1px solid #666666; padding: 10px;}
div.xoopsCode background#FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; margin : 0;px 6px 6px 6px;}
div.xoopsQuote background#FFFFFF; border: 1px inset #000080; font-family: "Courier New",Courier,monospace; margin : 0;px 6px 6px 6px;}

.comTitle {font-weightboldmargin-bottom2px;}
.
comText {padding2px;}
.
comUserStat {font-size10pxcolor#808080; font-weight:bold; border: 1px solid silver; background-color: #ffffff; margin: 2px; padding: 2px;}
.comUserStatCaption {font-weightnormal;}
.
comUserStatus {margin-left2pxmargin-top10pxcolor#808080; font-weight:bold; font-size: 10px;}
.comUserRank {margin2px;}
.
comUserRankText {font-size10px;font-weight:bold;}
.
comUserRankImg {border0px none;}
.
comUserName {}
.
comUserImg {margin2px;}
.
comDate {font-weightnormalfont-styleitalic;}
.
comDateCaption {font-weightboldfont-stylenormal;}

Posté le : 01/11/2005 23:54
Partager Twitter Partagez cette article sur GG+
Re: Comment faire pour que le bloc centrale remplisse l'ecran ?
Supporter Xoops
Inscrit: 24/11/2004 07:56
De Marseillan - Cap d'Agde
Messages: 687
Salut ,

Peux-tu donner un lien ou on peut voir le problème et qu'on puisse t'aider et éventuellement le nom du theme pour qu'on essaye de reproduire la chose

Posté le : 02/11/2005 03:33

Cordialement
Denis
Open in new window
Partager Twitter Partagez cette article sur GG+
Re: Comment faire pour que le bloc centrale remplisse l'ecran ?
Régulier
Inscrit: 21/07/2005 14:49
De Belgique-Hainaut
Messages: 329
Editer votre fichier Theme.html puis selectionner la cellule central et mettez le en 100 % et le tour est jouer.
Bonne amusement ...

Posté le : 02/11/2005 10:58

Open in new window Open in new window

Long Vie au Cms le plus cool

Me Joindre Ici - - > jb@jb-xoops.be
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

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