Archives FluxBB.fr

Les archives de FluxBB.fr

Vous n'êtes pas identifié(e).

#1 19-10-2010 13:19:19

snipfox72300
Membre

Transparent css

Bonjour,

Voila je suis en train de crer un thème alloween mais je voudrais savoir si possible de mettre mon site en transparent pour voir l'image d'arrière plant et ou sa se trouve merci?

Hors ligne

#2 19-10-2010 14:43:26

Defaz
Membre

Re : Transparent css

Bonjour,

En effet c'est tout à fait possible, il suffit d'appliquer un

background-color: transparent;

aux parties que l'ont veut voir disparaitre.

Je te conseille d'installer Firefox et firebug qui te faciliteront la tache pour trouver ou appliquer les transparences (et en plus il y a un correcteur d'orthographe wink )

Hors ligne

#3 19-10-2010 14:55:56

snipfox72300
Membre

Re : Transparent css

cela ne foncionne pas cher moi

background-color: transparent;
    background-image: url(../../img/Paradise-Halloween/background.jpg);
    background-attachment: fixed;
    margin-top: 6px;
    padding:0px;
    margin-bottom: 0px;
    background-repeat: repeat;
    background-position:top-left;
    background-color:#000000;
    height:100%;
}

Dernière modification par snipfox72300 (19-10-2010 14:56:22)

Hors ligne

#4 19-10-2010 17:39:28

Defaz
Membre

Re : Transparent css

En vérifiant attentivement tu verras par toi même que c'est normal puisqu'il y a un doublon...

Hors ligne

#5 19-10-2010 18:20:21

snipfox72300
Membre

Re : Transparent css

Defaz a écrit :

En vérifiant attentivement tu verras par toi même que c'est normal puisqu'il y a un doublon...

Je comprend pas la dsl.

Je débute dans le css donc merci de m'aider svp sa serais gentil.

Hors ligne

#6 19-10-2010 20:00:22

adaur
Membre

Re : Transparent css

Pour faire simple, tu as 2 propriétés qui se contredisent:

    background-color: transparent;
    background-image: url(../../img/Paradise-Halloween/background.jpg);
    background-attachment: fixed;
    margin-top: 6px;
    padding:0px;
    margin-bottom: 0px;
    background-repeat: repeat;
    background-position:top-left;
    background-color:#000000;
    height:100%;


"As code is more often read than written it's really important to write clean code." - Franz
Twitter: @adaurfr
Mon fork de FluxBB: FeatherBB

Hors ligne

#7 31-10-2010 13:38:02

snipfox72300
Membre

Re : Transparent css

adaur a écrit :

Pour faire simple, tu as 2 propriétés qui se contredisent:

    background-color: transparent;
    background-image: url(../../img/Paradise-Halloween/background.jpg);
    background-attachment: fixed;
    margin-top: 6px;
    padding:0px;
    margin-bottom: 0px;
    background-repeat: repeat;
    background-position:top-left;
    background-color:#000000;
    height:100%;

Je comprend pas dit moi le code exacte stp merci

Hors ligne

#8 31-10-2010 13:50:01

qwerty
Membre

Re : Transparent css

background-color: transparent;
    background-image: url(../../img/Paradise-Halloween/background.jpg);
    background-attachment: fixed;
    margin-top: 6px;
    padding:0px;
    margin-bottom: 0px;
    background-repeat: repeat;
    background-position:top-left;
    height:100%;

Dernière modification par qwerty (31-10-2010 13:51:22)

Hors ligne

#9 02-11-2010 18:15:47

Guims
Membre

Re : Transparent css

Il aurait fallut le laisser chercher un peu,à chaque fois faut lui faire le bout de code.

Mr comprends pas?...Mr ne cherche pas à comprendre plutôt

Hors ligne

Pied de page des forums