Problema no css do forum

2 participantes

Ver o tópico anterior Ver o tópico seguinte Ir para baixo

Tópico resolvido Problema no css do forum

Mensagem por zHugh 08.12.11 22:18

Qual é minha questão:
Bom quando salvo meu css apareçe a mensagem "Erro detectado
Nós contamos um número diferente de "{" e de "}". Isto significa que o seu CSS pode não ser válido e não será exibido corretamente no seu fórum.

Lhe aconselhamos que releia o seu código." e quase sempre o css para de funcionar do nada e depois volta ao normal, então gostaria que podessem consertar meu css caso tenha algum erro que provoque isto.
Código:
a[href="/u1"] {
background: url('http://i46.servimg.com/u/f46/16/56/73/62/21ee1p10.gif');
text-shadow: 5px orange;
 
a[href="/u3"] {
background: url('http://i46.servimg.com/u/f46/16/56/73/62/21ee1p10.gif');
text-shadow: 5px orange;
}bodyline {
-moz-box-shadow: 0px 20px 20px #FF0000;
-webkit-box-shadow: 0px 20px 20px #FF0000;
}

.post,.post .postprofile{border:2px solid #eaeaea;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}

/*-------------------Navbar-------------------*/
ul.navlinks {
border: 110px;
font-weight: bold;
text-align: center;
padding-bottom: 50px;}

.introduction, .panel, .post, #text_editor_textarea {
background-color: transparent;
border: 1px solid ;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-color: #6d8245;
-moz-box-shadow : 0 0 3px #fff;
-webkit-box-shadow : 0 0 3px #fff;
}

/* ARREDONDAMENTO */
#main-content .module, .post, .forumbg, .forabg,.introduction{
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
}

blockquote,blockquote blockquote,blockquote blockquote blockquote{-moz-border-radius:5px;-moz-box-shadow:0 1px 5px rgba(0,0,0,.15);-webkit-border-radius:5px 5px;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.15);background:none;background-color:#F9F9F9;background-image:-webkit-gradient(linear,lefttop,leftbottom,from(#F9F9F9), to(#F0F0F0));border:1px solid #DEDEDE;border-radius:5px 5px;box-shadow:0 1px 5px rgba(0,0,0,.15);padding:10px 20px}

div.postprofile dl dt strong[style="font-size:1.2em"] span strong{font-weight:bold!important}div.postprofile dl dt strong[style="font-size:1.2em"]{font-weight:normal}

.msg img{
display:none!important;
}

.postprofile{text-align:center}

#page-header .navbar ul.navlinks{
width: 1012px;
height: 50px;
background: url(http://i45.servimg.com/u/f45/16/05/67/74/untitl11.png) no-repeat top center;
left: -40px;
position: relative;}

#page-header .navbar ul.navlinks li a{
color: white;
position: relative;
bottom: -22px !important;
margin: 5px;
font-family: arial;
font-size: 14px;
text-shadow: 1px 1px 1px black;}

#page-header .navbar ul.navlinks li a:hover{
text-shadow: -1px -1px 1px black;
color: #dcf9ff;}


    .a.gen,a.genmed,a.gensmall {
    font-weight: lighter;
    }
    .gen,.genmed,.gensmall {
    font-weight: lighter;
    }
    .genmed {
    font-weight: lighter;
    }
    .gensmall {
    font-weight: lighter;
    }

ul#picture_legend {
display:none;
}

.last-post-icon {
margin-bottom: -9px;
}

    .post img {
    max-width: 100%;
    }

#wrap {
-moz-box-shadow: 0 0 1em #ccc;
}

em .gensmall {
display: none;
}
em {
color: transparent !important;
}

#wrap {
width : 948px;
padding : 5px;
border : 2px solid #EEE;
-moz-border-radius : 2px;
-webkit-border-radius : 2px;
-moz-box-shadow : 0 0 10px #666;
-webkit-box-shadow : 0 0 10px #666;
}


#page-header .navbar ul.navlinks{
width: 1012px;
height: 50px;
background: url(http://i45.servimg.com/u/f45/16/05/67/74/untitl12.png) no-repeat top center;
left: -41px;
position: relative;}

#page-header .navbar ul.navlinks li a{
color: white;
position: relative;
bottom: -22px !important;
margin: 5px;
font-family: arial;
font-size: 14px;
text-shadow: 1px 1px 1px black;}

#page-header .navbar ul.navlinks li a:hover{
text-shadow: -1px -1px 1px black;
color: #dcf9ff;}

    .module {
    border: 1px #FFFFFF solid;
    }


    body {
    background-color: rgba(255,255,255,8);
    filter: alpha(opacity=80);
    }

.module {
background:url('http://i53.tinypic.com/29dtmas.jpg');
}

/*banner flutuante*/
#popup {
position: absolute;
top: 30%;
left: 30%;
width: 300px;
height: 150px;
padding: 20px 20px 20px 20px;
border-width: 2px;
border-style: solid;
background: #ffffa0;
display: none;
}

button1,.button2{-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.codebox{-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}

.inputbox {-moz-border-radius: 10px; -webkit-border-radius: 10px;}

#wrap {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border: 1px solid #FFFFFF;
}

.postprofile dt img, dl.left-box dt img {
border:3px solid #FFFFFF;
}

.postprofile dl dt a img {
-moz-box-shadow:0px 0px 8px #9C9C9C;
-webkit-box-shadow:0px 0px 0px #9C9C9C;
}

#page-head .navbar .inner ul.linklist.navlinks li a.mainmenu{color:black}
.mainmenu:hover {color: #000000 !important;}
a:hover{color:#0000FF;text-shadow:0px 0px 6px #000000;text-decoration:underline}
.forabg, .forumbg, .headerbar{
-moz-border-radius: 10px;
-webkit-border-radius: 10px;}


/* SOMBRA */
.forumbg, .forabg, #main-content .module,.post,.introduction{
-moz-box-shadow:   0px 0px 3px 1px #000;
-webkit-box-shadow:   0px 0px 3px 1px #000;
box-shadow:      0px 0px 3px 1px #000;
}


    .vote {
    padding: 4px 1px 4px 1px;
    text-align: center;
    width:20px;
    background-color: #eaeaea;
    border: 1px solid #d4d6d5;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    }

    .vote .vote-no-bar {
    display: none;
    }

    .vote .vote-bar {
    border-left: 0px;
    border-right: 0px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #d4d6d5;
    font-size: 0px;
    height: 50px;
    margin: 0px;
    width: 20px;
    padding: 3px 0px 3px 0px;
    }

.user_login_form{-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#555555 none repeat scroll 0 0;left:0;opacity:0.75;position:fixed;top:0;width:100%}.user_login_form label{color:#FFFFFF;opacity:1}

#search{
display:none;
}

    .linklist {
    display:none !important;}

    .right, .rightside {
    display:none !important;}

    dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span,

.postprofile {
color: #FFFFFF;
text-align: center;}

#login_popup_close.button2 {
display: none;
}

.postprofile dl dt a img:first-child {
width: 150px;
height: 280px;
}


Medidas que eu tomei para corrigir o problema:
nenhum

Imagens do meu problema:
nenhum

Endereço do meu fórum:
http://pokeredrevenge.forumeiros.com

Versão do meu fórum:
PHPBB3
zHugh

zHugh
Membro

Membro desde : 30/03/2010
Mensagens : 751
Pontos : 1215

http://superonzerpg.forumeiros.net/

Ir para o topo Ir para baixo

Tópico resolvido Re: Problema no css do forum

Mensagem por Thoth 08.12.11 22:25

Isso é fácil de resolver.
Você simplesmente esquecei de colocar uma chave ''{'' seja para abrir ou para fechar algum código de sua css.

Faça uma revisão em seu css e procure onde está faltando a chave ''{'' para fechar ou abrir.


Lembrando que desse jeito ''{'' abre o código e desse jeito ''}'' fecha.

Eu não estarei a revisar o código pois estou sem tempo hábil. Mas, você relembrando as fontes de onde pegou os códigos resolverá facilmente. Ou aguarde outro membro que se disponha a revisar o código.
Thoth

Thoth
Hiper Membro

Membro desde : 01/11/2011
Mensagens : 2197
Pontos : 2819

https://testefdd.forumeiros.com/ https://www.youtube.com/@LMCanalTech/featured

Ir para o topo Ir para baixo

Tópico resolvido Re: Problema no css do forum

Mensagem por Convidad 08.12.11 23:00

Olá!

Arrumei, coloque na sua folha CSS:

Código:

a[href="/u1"] {
background: url('http://i46.servimg.com/u/f46/16/56/73/62/21ee1p10.gif');
text-shadow: 5px orange;
}
 
a[href="/u3"] {
background: url('http://i46.servimg.com/u/f46/16/56/73/62/21ee1p10.gif');
text-shadow: 5px orange;
}bodyline {
-moz-box-shadow: 0px 20px 20px #FF0000;
-webkit-box-shadow: 0px 20px 20px #FF0000;
}

.post,.post .postprofile{border:2px solid #eaeaea;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}

/*-------------------Navbar-------------------*/
ul.navlinks {
border: 110px;
font-weight: bold;
text-align: center;
padding-bottom: 50px;}

.introduction, .panel, .post, #text_editor_textarea {
background-color: transparent;
border: 1px solid ;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-color: #6d8245;
-moz-box-shadow : 0 0 3px #fff;
-webkit-box-shadow : 0 0 3px #fff;
}

/* ARREDONDAMENTO */
#main-content .module, .post, .forumbg, .forabg,.introduction{
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
}

blockquote,blockquote blockquote,blockquote blockquote blockquote{-moz-border-radius:5px;-moz-box-shadow:0 1px 5px rgba(0,0,0,.15);-webkit-border-radius:5px 5px;-webkit-box-shadow:0 1px 5px rgba(0,0,0,.15);background:none;background-color:#F9F9F9;background-image:-webkit-gradient(linear,lefttop,leftbottom,from(#F9F9F9), to(#F0F0F0));border:1px solid #DEDEDE;border-radius:5px 5px;box-shadow:0 1px 5px rgba(0,0,0,.15);padding:10px 20px}

div.postprofile dl dt strong[style="font-size:1.2em"] span strong{font-weight:bold!important}div.postprofile dl dt strong[style="font-size:1.2em"]{font-weight:normal}

.msg img{
display:none!important;
}

.postprofile{text-align:center}

#page-header .navbar ul.navlinks{
width: 1012px;
height: 50px;
background: url(http://i45.servimg.com/u/f45/16/05/67/74/untitl11.png) no-repeat top center;
left: -40px;
position: relative;}

#page-header .navbar ul.navlinks li a{
color: white;
position: relative;
bottom: -22px !important;
margin: 5px;
font-family: arial;
font-size: 14px;
text-shadow: 1px 1px 1px black;}

#page-header .navbar ul.navlinks li a:hover{
text-shadow: -1px -1px 1px black;
color: #dcf9ff;}


    .a.gen,a.genmed,a.gensmall {
    font-weight: lighter;
    }
    .gen,.genmed,.gensmall {
    font-weight: lighter;
    }
    .genmed {
    font-weight: lighter;
    }
    .gensmall {
    font-weight: lighter;
    }

ul#picture_legend {
display:none;
}

.last-post-icon {
margin-bottom: -9px;
}

    .post img {
    max-width: 100%;
    }

#wrap {
-moz-box-shadow: 0 0 1em #ccc;
}

em .gensmall {
display: none;
}
em {
color: transparent !important;
}

#wrap {
width : 948px;
padding : 5px;
border : 2px solid #EEE;
-moz-border-radius : 2px;
-webkit-border-radius : 2px;
-moz-box-shadow : 0 0 10px #666;
-webkit-box-shadow : 0 0 10px #666;
}


#page-header .navbar ul.navlinks{
width: 1012px;
height: 50px;
background: url(http://i45.servimg.com/u/f45/16/05/67/74/untitl12.png) no-repeat top center;
left: -41px;
position: relative;}

#page-header .navbar ul.navlinks li a{
color: white;
position: relative;
bottom: -22px !important;
margin: 5px;
font-family: arial;
font-size: 14px;
text-shadow: 1px 1px 1px black;}

#page-header .navbar ul.navlinks li a:hover{
text-shadow: -1px -1px 1px black;
color: #dcf9ff;}

    .module {
    border: 1px #FFFFFF solid;
    }


    body {
    background-color: rgba(255,255,255,8);
    filter: alpha(opacity=80);
    }

.module {
background:url('http://i53.tinypic.com/29dtmas.jpg');
}

/*banner flutuante*/
#popup {
position: absolute;
top: 30%;
left: 30%;
width: 300px;
height: 150px;
padding: 20px 20px 20px 20px;
border-width: 2px;
border-style: solid;
background: #ffffa0;
display: none;
}

button1,.button2{-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.codebox{-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px}

.inputbox {-moz-border-radius: 10px; -webkit-border-radius: 10px;}

#wrap {
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
border: 1px solid #FFFFFF;
}

.postprofile dt img, dl.left-box dt img {
border:3px solid #FFFFFF;
}

.postprofile dl dt a img {
-moz-box-shadow:0px 0px 8px #9C9C9C;
-webkit-box-shadow:0px 0px 0px #9C9C9C;
}

#page-head .navbar .inner ul.linklist.navlinks li a.mainmenu{color:black}
.mainmenu:hover {color: #000000 !important;}
a:hover{color:#0000FF;text-shadow:0px 0px 6px #000000;text-decoration:underline}
.forabg, .forumbg, .headerbar{
-moz-border-radius: 10px;
-webkit-border-radius: 10px;}


/* SOMBRA */
.forumbg, .forabg, #main-content .module,.post,.introduction{
-moz-box-shadow:  0px 0px 3px 1px #000;
-webkit-box-shadow:  0px 0px 3px 1px #000;
box-shadow:      0px 0px 3px 1px #000;
}


    .vote {
    padding: 4px 1px 4px 1px;
    text-align: center;
    width:20px;
    background-color: #eaeaea;
    border: 1px solid #d4d6d5;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
    }

    .vote .vote-no-bar {
    display: none;
    }

    .vote .vote-bar {
    border-left: 0px;
    border-right: 0px;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #d4d6d5;
    font-size: 0px;
    height: 50px;
    margin: 0px;
    width: 20px;
    padding: 3px 0px 3px 0px;
    }

.user_login_form{-moz-background-clip:border;-moz-background-inline-policy:continuous;-moz-background-origin:padding;background:#555555 none repeat scroll 0 0;left:0;opacity:0.75;position:fixed;top:0;width:100%}.user_login_form label{color:#FFFFFF;opacity:1}

#search{
display:none;
}

    .linklist {
    display:none !important;}

    .right, .rightside {
    display:none !important;}

    dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span,

.postprofile {
color: #FFFFFF;
text-align: center;}

#login_popup_close.button2 {
display: none;
}

.postprofile dl dt a img:first-child {
width: 150px;
height: 280px;
}

Seta Atenciosamente.
Anonymous

Convidad
Convidado


Ir para o topo Ir para baixo

Tópico resolvido Re: Problema no css do forum

Mensagem por zHugh 08.12.11 23:09

Obrigado Touks Resolveu meu Problema!!
zHugh

zHugh
Membro

Membro desde : 30/03/2010
Mensagens : 751
Pontos : 1215

http://superonzerpg.forumeiros.net/

Ir para o topo Ir para baixo

Ver o tópico anterior Ver o tópico seguinte Ir para o topo


Permissões neste sub-fórum
Não podes responder a tópicos