Erreur dans le CSS suite à une modification

2 participants

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

Résolu Erreur dans le CSS suite à une modification

Message par Bad_girls Dim 24 Jan 2016, 10:21

Détails techniques


Version du forum : phpBB2
Poste occupé : Administrateur
Navigateur(s) concerné(s) : Google Chrome
Capture d'écran du problème :
Voir l'image:

Personnes concernées par le problème : Tous les utilisateurs
Problème apparu depuis : Depuis une modification du CSS aujourd'hui ( 9h15)
Lien du forum : http://leforumdesamis.monally.com/portal.htm

Description du problème

Bonjour!

J'ai voulu rajouté le code trouvé ici (un sujet que je suivais) et c'est à la suite de ça que j'ai eu ce message

https://forum.forumactif.com/t383474-taille-de-photo-de-profil#3228418

Erreur

Erreur détectée
Nous avons compté un nombre différent de "{" et de "}". 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.


J'ai beau essayer de corriger, je n'arrive pas à trouver ce qui coince!

C'est à ce niveau:

Erreur dans le CSS suite à une modification 990803CSS

Voilà mon code CSS

Un grand merci pour votre aide!
Cordialement

Code:
body {
background-repeat: no-repeat;
background-position: center;
}
.sceditor-button.sceditor-button-image{
  display:none;
}
.sceditor-button.sceditor-button-link {
  display: none;
}
.sceditor-emoticons {width: 250px !important; height: 250px !important; overflow: auto !important;}
img.smiley {width: auto !important; height : auto !important;}
.sceditor-button.sceditor-button-servimg  {
 display: none;
}
#addbbcode14 {
visibility: hidden;
}           
#addbbcode16 {
visibility: hidden;
}
.pun .sig-content {clear:none;}
.div.signature_div img {
        max-width:400px;
        max-height:250px;
}
.signature_div img
{
 max-width:400px;
max-height:250px;
#fa_toolbar, #fa_toolbar_hidden {background-color: #98520d !important;} 
.postdetails.poster-profile a img {
-webkit-border-radius: 6px;
border-radius: 6px;
a {
        -moz-transition:all 0.5s; /* Mozilla Firefox */
        -webkit-transition:all 0.5s; /* Safari et Google Chrome */
        -o-transition:all 0.5s; /* Opera */
        transition:all 0.5s;
}
a { text-decoration: none; }
A:hover{text-transform:uppercase;}
a.forumlink:link, a.forumlink:visited {
font-family:  Century Gothic;
text-transform : uppercase;
text-align: center;
font-size90%;
border-bottom: 2px solid #0c1c3c;
color: #000000;
letter-spacing: 1px;
display: block;
-moz-border-radius:2px;
}
.bouhautbas {
    bottom: 40px;
  right: 10px; /* remplacez left par right pour afficher les boutons à droite */
    position: fixed;
    z-index: 100;
}
/* Icônes couleur dans la palette */
 
.color-option {
display: inline-block !important;
width: 15px !important;  /* largeur de l'icône couleur */
height: 15px !important;  /* hauteur de l'icône couleur */
border: 2px solid #fff !important;  /* cadre blanc sur l'icône couleur */
margin: 3px !important;  /* espace entre chaque icône */
box-shadow: 0 0 2px #778899;  /* ombre */
cursor: pointer !important;
}
.color-option span{
display: block !important;
width: 15px !important;  /* largeur de l'icône couleur */
height: 15px !important;  /* hauteur de l'icône couleur */
}
.color-option, .color-option span {
border-radius: 2px;  /* arrondi */ 
}
 
/* Palette complète - la largeur influence le nombre d'icônes affichées */
.sceditor-dropdown.sceditor-color-picker {
width: 200px !important;  /* largeur de la palette complète */
height: 100px !important;  /* hauteur de la palette complète */
padding: 5px !important;
border-radius: 5px !important;
}
div.post_profile {
border:1px solid #000000;
background #ffffff ;
padding:3px;}
#navMP>a{
  display:inline-block;
  padding-left:10px;
  padding-right:10px;
  font-size:16px;
  line-height:16px;
  color:#eee;
  background:#BDC8D0;
  text-decoration:none !important;
  border:1px solid #aaa;
}
#navMP>a:hover{
  color:#fff;
  background:#CDD8E0;
  text-decoration:none !important;
}
#navMP-precedent{
  border-radius:8px 0 0 8px;
}
#navMP-suivant{
  float:right;
  border-radius:0 8px 8px 0;
}
 
#navMP-precedent::before{
  content:"Précédent"
}
#navMP-suivant::before{
  content:"Suivant"
}
.class-de-lavatar {
  max-width: 150px;
}
.postprofile dd, .postprofile dt
{
width:150px;*/ diminue selon le besoin/*
line-height: 1.2em;
margin-left: 8px;
}
    body {
filter:alpha(opacity=85);
-moz-opacity:0.95;
-khtml-opacity: 0.95;
opacity: 0.95;
}
  a.forumlink span, a.forumtitle span { display: none; }
a.forumlink img, a.forumtitle img { display: inline!important; }
    a.cattitle span, .secondarytitle h2 span, .table-title h2 span, .maintitle h2 span, .page-title h2 span { display: none; }
a.cattitle img, .secondarytitle h2 img, .table-title h2 img, .maintitle h2 img, .page-title h2 img { display: inline!important; }
    /* sticky nav main */
#fa_sticky_nav {
  font-size:0; /* hide whitespace */
  text-align:center;
  background:#DCE1E4;
  border-bottom:1px solid #CCC !important;
  height:30px;
  position:fixed;
  right:0;
  z-index:999;
  overflow:hidden;
  transition:top 200ms linear, width 600ms ease-in-out;
}
 
#fa_sticky_nav li { display:inline } /* navlist adjustment */
 
 
/* sticky menu links */
#fa_sticky_nav a.mainmenu {
  color:#39C;
  font-size:12px;
  font-weight:bold;
  font-family:"Trebuchet MS", Arial, Verdana, Sans-serif;
  background:url('http://i18.servimg.com/u/f18/18/45/41/65/nav10.png') repeat-x 0px 30px;
  display:inline-block;
  padding:0 10px;
  height:30px;
  line-height:30px;
  transition:200ms;
}
 
#fa_sticky_nav a.mainmenu:hover, #fa_sticky_nav a.mainmenu.fa_navactif {
  background-position:0 25px;
}
 
 
/* sticky nav toggler */
#fa_sticky_toggle {
  background:url('http://i21.servimg.com/u/f21/18/21/41/30/omnibo10.png') no-repeat 0 0 #FAFAFA;
  border:1px solid #CCC;
  border-right:none;
  display:inline-block;
  height:29px;
  width:30px;
  position:fixed;
  right:0;
  z-index:999;
  transition:top 200ms linear;
}
 
#fa_sticky_toggle:hover { background-position:-30px 0 }
 
 
/* make hidden toolbar similar to toggler */
#fa_toolbar_hidden {
  border-radius:0 !important;
  border:1px solid #CCC;
  border-right:0;
  border-top:0;
}
 
 
/* post offset fix */
.post div[style*="-30px;"] {
  top:-60px !important;
}


Dernière édition par Bad_girls le Lun 25 Jan 2016, 00:28, édité 1 fois
Bad_girls

Bad_girls
*****

Féminin
Messages : 889
Inscrit(e) le : 21/09/2010

http://creations-offertes.1fr1.net/
Bad_girls a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Erreur dans le CSS suite à une modification

Message par demeter1 Dim 24 Jan 2016, 11:06

Vous n'avez pas de fermeture à .postdetails.poster-profile a img

Votre css :
Code:
.postdetails.poster-profile a img {
-webkit-border-radius: 6px;
border-radius: 6px;

au lieu de
Code:
.postdetails.poster-profile a img {
-webkit-border-radius: 6px;
border-radius: 6px;}


et pas de fermeture également à .signature_div img
Votre css
Code:

.signature_div img
{
 max-width:400px;
max-height:250px;
 

au lieu de
Code:

.signature_div img
{
 max-width:400px;
max-height:250px;
}
 

voici un outil qui vous permettra de détecter les erreurs sur du css au kilomètre
http://www.dirtymarkup.com
demeter1

demeter1
Membre actif

Masculin
Messages : 8993
Inscrit(e) le : 23/01/2009

https://altitudetropicale.forums-actifs.com/
demeter1 a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Erreur dans le CSS suite à une modification

Message par Bad_girls Lun 25 Jan 2016, 00:28

1000 merci!!!

C'est tout bon!

Gros bisous et bonne semaine!

Cordialement
Bad_girls

Bad_girls
*****

Féminin
Messages : 889
Inscrit(e) le : 21/09/2010

http://creations-offertes.1fr1.net/
Bad_girls a été remercié(e) par l'auteur de ce sujet.

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

- Sujets similaires

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