Erreur dans mon css

2 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Erreur dans mon css

Message par CathyCréation Jeu 2 Aoû 2012 - 21:45

Bonjour
voila sa fait plusieur fois que j'éssaye de mettre mon css
et il me dit qu'il y a une erreur trop de guillemet
mais je ne trouve pas l'erreur pourriez vous m'aider svp

Mon Css

Code:
.cates /*Ensemble des Catégories*/
{
  width: 1150px;
height: auto;
  text-align: center;
  margin: auto;
}

.cate /*Une seule Catégories*/
{
  float: left;
  background-color: #454545;
border: 2px solid #353535;
width: 350px;
height: auto;
  text-align: left;
  margin: 5px;
padding-bottom: 30px;
  border-radius: 30px;
-moz-border-radius: 30px;
-o-border-radius: 30px;
-htm-border-radius: 30px;
-webkit-border-radius: 30px;
  box-shadow: 1px 1px 5px #000000;
-moz-box-shadow: 1px 1px 5px #000000;
-o-box-shadow: 1px 1px 5px #000000;
-htm-box-shadow: 1px 1px 5px #000000;
-webkit-box-shadow: 1px 1px 5px #000000;
}

.titre_cate, .titre_cate h2 /*Titre Catégorie*/
{
  background-color: #242424;
border-bottom: 2px solid #353535;
height: 70px;
  text-align: center;
font-size: 30px;
text-shadow: 1px 1px 1px black;
  margin-bottom: 20px;
margin-top: 0px;
padding-top: 10px;
  border-radius: 28px 28px 0 0;
-moz-border-radius: 28px 28px 0 0;
-o-border-radius: 28px 28px 0 0;
-htm-border-radius: 28px 28px 0 0;
-webkit-border-radius: 28px 28px 0 0;
}

.forums
{
  background-color: #545454;
border: 2px solid #242424;
width: 330px;
height: auto;
  text-align: center;
  padding: 0px;
  margin: auto;
margin-top: 5px;
margin-bottom: 5px;
}
a.titre_forum, a.titre_forum:hover /*Titre Forum*/
{
  display: block;
  font-size: 24px;
text-align: center;
text-shadow: 1px 1px 1px #000000;
}

.forum_stat
{
  text-align: center;
text-shadow: 1px 1px 1px #000000;
font-size: 13px;
color: #ffffff;
}

.desc  /*Dernier Message + Titre Forum */
{
  float: right;
  width: 220px;
  text-align: center;
}

.description /*Bouton no new, new, lock*/
{
  float: left;
  border-right: 2px solid #242424;
}

.description span /*Ce qui contient la description et les stats*/
{
  background-color: #bebebe;
width: 1px;
height: 94px;
  margin-left: 2px;
padding: 3px;
  position: absolute;
  text-align: justify;
color: #000000;
  overflow: hidden;
  opacity : 0;
-moz-opacity : 0;
-khtml-opacity : 0;
-ms-filter: "alpha(opacity=0)";
filter : alpha(opacity=0);
  transition: all 0.540s;
-moz-transition: all 0.540s;
-o-transition: all 0.540s;
-htm-transition: all 0.540s;
-webkit-transition: all 0.540s;
}

.description:hover span /*Lorsque le bouton est survolé, la description s'affiche*/
{
width: 222px;
  opacity : 0.9;
-moz-opacity : 0.9;
-khtml-opacity : 0.9;
-ms-filter: "alpha(opacity=90)";
filter : alpha(opacity=90);
  transition: all 0.540s;
-moz-transition: all 0.540s;
-o-transition: all 0.540s;
-htm-transition: all 0.540s;
-webkit-transition: all 0.540s;
}
.ssforum
{
  overflow: auto;
  background-color: #242424;
width: 100%;
height: 20px;
  text-align: justify;
color: #858585;
}


Merci


Dernière édition par CathyCréation le Ven 3 Aoû 2012 - 11:44, édité 1 fois
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Erreur dans mon css

Message par Invité Ven 3 Aoû 2012 - 0:14

Bonsoir,

Les /* ........ */ sont mal placés , vous devez les intégrés au dessus de vos codes et non pas après du moins sur la même ligne Wink

Cordialement.
Anonymous

Invité
Invité


Invité a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Erreur dans mon css

Message par CathyCréation Ven 3 Aoû 2012 - 10:53

merci beaucoup

Edit:

Non ce n'est pas cela j'ai fait comme vous avez dit
et il me marque qu'il y a une erreur trop de guillemet

avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Erreur dans mon css

Message par Athnor Ven 3 Aoû 2012 - 11:12

Code:
/*Ensemble des Catégories*/
.cates{
          width: 1150px;
          height: auto;
          text-align: center;
          margin: auto;
}

/*Une seule Catégories*/
.cate{
        float: left;
        background-color: #454545;
        border: 2px solid #353535;
        width: 350px;
        height: auto;
        text-align: left;
        margin: 5px;
        padding-bottom: 30px;
        border-radius: 30px;
        -moz-border-radius: 30px;
        -o-border-radius: 30px;
        -htm-border-radius: 30px;
        -webkit-border-radius: 30px;
        box-shadow: 1px 1px 5px #000000;
        -moz-box-shadow: 1px 1px 5px #000000;
        -o-box-shadow: 1px 1px 5px #000000;
        -htm-box-shadow: 1px 1px 5px #000000;
        -webkit-box-shadow: 1px 1px 5px #000000;
}

/*Titre Catégorie*/
.titre_cate, .titre_cate h2{
                                    background-color: #242424;
                                    border-bottom: 2px solid #353535;
                                    height: 70px;
                                    text-align: center;
                                    font-size: 30px;
                                    text-shadow: 1px 1px 1px black;
                                    margin-bottom: 20px;
                                    margin-top: 0px;
                                    padding-top: 10px;
                                    border-radius: 28px 28px 0 0;
                                    -moz-border-radius: 28px 28px 0 0;
                                    -o-border-radius: 28px 28px 0 0;
                                    -htm-border-radius: 28px 28px 0 0;
                                    -webkit-border-radius: 28px 28px 0 0;
}

.forums{
            background-color: #545454;
            border: 2px solid #242424;
            width: 330px;
            height: auto;
            text-align: center;
            padding: 0px;
            margin: auto;
            margin-top: 5px;
            margin-bottom: 5px;
}

/*Titre Forum*/
a.titre_forum, a.titre_forum:hover{
                                                  display: block;
                                                  font-size: 24px;
                                                  text-align: center;
                                                  text-shadow: 1px 1px 1px #000000;
}

.forum_stat{
                  text-align: center;
                  text-shadow: 1px 1px 1px #000000;
                  font-size: 13px;
                  color: #ffffff;
}

/*Dernier Message + Titre Forum */
.desc{
        float: right;
        width: 220px;
        text-align: center;
}

/*Bouton no new, new, lock*/
.description{
                  float: left;
                  border-right: 2px solid #242424;
}

/*Ce qui contient la description et les stats*/
.description span{
                          background-color: #bebebe;
                          width: 1px;
                          height: 94px;
                          margin-left: 2px;
                          padding: 3px;
                          position: absolute;
                          text-align: justify;
                          color: #000000;
                          overflow: hidden;
                          opacity : 0;
                          -moz-opacity : 0;
                          -khtml-opacity : 0;
                          -ms-filter: alpha(opacity=0);
                          filter : alpha(opacity=0);
                          transition: all 0.540s;
                          -moz-transition: all 0.540s;
                          -o-transition: all 0.540s;
                          -htm-transition: all 0.540s;
                          -webkit-transition: all 0.540s;
}

/*Lorsque le bouton est survolé, la description saffiche*/
.description:hover span{
                                  width: 222px;
                                  opacity : 0.9;
                                  -moz-opacity : 0.9;
                                  -khtml-opacity : 0.9;
                                  -ms-filter: alpha(opacity=90);
                                  filter : alpha(opacity=90);
                                    transition: all 0.540s;
                                  -moz-transition: all 0.540s;
                                  -o-transition: all 0.540s;
                                  -htm-transition: all 0.540s;
                                  -webkit-transition: all 0.540s;
}

.ssforum{
              overflow: auto;
              background-color: #242424;
              width: 100%;
              height: 20px;
              text-align: justify;
              color: #858585;
}

j'ai enlevé des guillements :youopi: sinon le code est exactement le même je l'ai juste rendu un peu plus lisible pour moi :p
je te garanti rien, j'espère que sa va marcher!
courage!

edit1:
Erreur détectée
Nous avons compté un nombre impaire de guillemets donc une chaine est mal fermée. Cela signifie que votre CSS risque de ne pas être valide et ne sera pas affiché correctement sur votre forum.

Nous vous conseillons de relire votre code.

je viens de tester aussi...je m'y met

edit2: voilà j'ai trouvé je viens de modifier le code et c'est ok le souci venais d'un ' dans les description.

cordialement :youopi:
Athnor

Athnor
***

Masculin
Messages : 101
Inscrit(e) le : 24/07/2012

http://www.guildofwarriors.fr1.co
Athnor a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Erreur dans mon css

Message par CathyCréation Ven 3 Aoû 2012 - 11:39

Oh super
merci beaucoup sa fonctionne super
avatar

CathyCréation
****

Messages : 282
Inscrit(e) le : 20/10/2011

http://accrosgraph.forumactif.com
CathyCréation a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut


Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum