← WordPress

Erro em template

Lida 2306 vezes

Offline

mix_93 
Membro
Mensagens 1630 Gostos 0
Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Boas estou a criar uma template mas está a dar-me um erro que não estou a perceber o porque de o mesmo acontercer.
http://imagehost.extremedesigntuga.com/images/8zvz4fbgc8yct0u3hlp.png

Vou deixar em baixo o css:
Citar
/* 
Theme Name: Fast Medical Info
Author URI: http://www.extremedesigntuga.com
Version: 1
Author: Mix_93
Description: Template for Fast Medical Info
*/

body {
   background: #ffffff url(images/bg.png) repeat-x;
   color: #000000;
   font-size: 11px;
   font-family: Tahoma, Verdana;
   margin: 0px 0px 0px 0px;
   }
a, a:visited{
   color: #006699;
   text-decoration: none;
   }
   
a:hover{
   color: #000000;
   text-decoration: none;
   }

#container {
   width: 960px;
   background: transparent;
   text-align: left;
   margin: 20px auto;
   }

#header {
   padding: 15px 0px 26px 25px;
   margin-bottom: 0px;
   }
#header h2 {
   color: #ffffff;
   font-size: 35px;
   font-family: Tahoma, Verdana;
   font-variant: small-caps;
   margin: 0px;
   }

#header h2 a {
   color: #ffffff;
   text-decoration: none;
   }

#header h2 a:hover {
   color: #000000;
   background: #e3e3e3;
   text-decoration: none;
   }

#header h3 {
   color: #cccccc;
   font-size: 16px;
   font-family: Tahoma, Verdana;
   font-weight: bold;
   margin: 0px;
   }

#navbar {
   background: #F3F0E7 url(images/menu.png);
   width: 958px;
   height: 32px;
   color: #FFFFFF;
   margin: 0px auto 0px;
   padding: 0px 0px 0px 0px;
   }

#navbar li {
   display: inline;
   list-style-type: none;
   margin: 0px;
   padding: 0px;
   }
      
#navbar ul {
   margin: 0px;
   padding: 8px 0px 0px 10px;
   }
   
#navbar ul li a {
   font-size: 14px;
   font-family: Verdana, Arial, Tahoma;
   color: #FFFFFF;
   padding: 0px;
   margin: 0px 10px 0px 10px;
   font-weight: bold;
   text-decoration: none;
   }

#navbar ul li a:hover {
   color: #FFFFFF;
   text-decoration: underline;
   }
   
.navbarleft {
   width: 600px;
   height: 34px;
   float: left;
   color: #FFFFFF;
   margin: 0px;
   padding: 0px 0px 0px 0px;
   }
   
.navbarright {
   width: 100px;
   float: right;
   text-align: right;
   color: #FFFFFF;
   margin: 0px;
   padding: 5px 10px 0px 0px;
   }


#content {
   width: 520px;
   margin-top: 0px;
   margin-bottom: 20px;
   margin-left: 233px;
   margin-right: 0px;
   position:relative;
   padding: 15px 25px 15px 25px;
   }
#content p{
   margin: 0px;
   line-height: 18px;
   padding: 0px 0px 10px 0px;
   }
   
#content p img{
   border: none;

   margin-right: 15px;
   margin-bottom: 10px;
   padding: 0px 5px 15px 0px;
   }
#content h1 {
   color: #cccccc;
   font-size: 22px;
   font-family: Tahoma, Verdana;;
   font-weight: normal;
   padding: 10px 10px 10px 10px;
   line-height: 150%;
   margin: 0px;
   }
   
#content h1 a  {
   color: #cccccc;
   text-decoration: underline;
   }

#content h1 a:hover {
   color: #000000;
   text-decoration: none;
   }

#content h2 {
   color: #666666;
   font-size: 22px;
   font-family: Tahoma, Verdana;
   font-weight: bold;
   margin: 0px;
   line-height: 120%;
   font-variant: small-caps;
   }
#content h2 a  {
   color: #666666;
   text-decoration: none;
   }

#content h2 a:hover {
   color: #000000;
   background: #e3e3e3;
   text-decoration: none;
   }


#content h3 {
   color: #666666;
   font-size: 14px;
   font-family: Tahoma, Verdana;
   font-weight: bold;
   margin-bottom: 30px;
   line-height: 120%;
   font-variant: small-caps;
   border-bottom: 1px solid #666666;
   }
#content h3 a  {
   color: #666666;
   text-decoration: none;
   }

#content h3 a:hover {
   color: #000000;
   text-decoration: none;
   }

#content h3 {
   color: #666666;
   font-size: 16px;
   font-family: Tahoma, Verdana;
   font-weight: bold;
   margin: 0px;
   line-height: 120%;
   font-variant: small-caps;
   }
#content h3 a  {
   color: #666666;
   text-decoration: none;
   }

#content h3 a:hover {
   color: #000000;
   text-decoration: none;
   }



#content ol {
   list-style-type: decimal;
   line-height: 18px;
   margin: 0px;
   padding: 0px 0px 10px 30px;
   }
#content ul {
   list-style: none;
   margin: 0px;
   padding: 0px 0px 10px 0px;
   }
   
#content li {
   margin: 0px;
   padding: 0px;
   }
   
#content ul li {
   list-style: square inside;
   margin: 0px 0px 0px 10px;
   padding: 5px 0px 0px 0px;
   }
   
#content ul li a {
   color: #cccccc;
   text-decoration: none;
   }

#content ul li a:hover {
   color: #000000;
   text-decoration: underline;
   }
blockquote{
   margin: 0px 0px 0px 25px;
   padding: 0px 25px 0px 10px;
   font-style: italic;
   color: #666666;
   border-left: 1px solid #cccccc;
   }
   
#content blockquote p{
   margin: 0px 0px 20px 0px;
   padding: 0px;
   }

.postspace {
   background: #FFFFFF;
   width: 520px;
   height: 32px;
   margin: 0px;
   padding: 0px;
   }
.postspace2 {
   background: #FFFFFF;
   width: 520px;
   height: 0px;
   margin: 0px;
   padding: 0px;
   }
.postspace3 {
   background: #FFFFFF;
   width: 520px;
   height: 15px;
   margin: 0px;
   padding: 0px;
   }

#l_sidebar {
   background: #ffffff;
   color: #000000;
   width: 140px;
   float: left;
   float: left;
   margin-top: 0px;
   margin-bottom: 20px;
   padding: 10px 15px 15px 15px;
   }
#l_sidebar p{
   margin: 0px;
   line-height: 16px;
   padding: 5px 0px 10px 0px;
   }
#l_sidebar h2 {
   color: #000000;
   background: #ffffff;
   font-size: 14px;
   font-family: Tahoma, Verdana;
   font-weight: bold;
   list-style: none;
   padding: 10px 0px 10px 0px;
   margin: 0px;
   border-bottom: 1px solid #000000;
   }


#l_sidebar ul {
   list-style: none;
   margin: 0px;
   padding: 0px 0px 20px 0px;
   }
   
#l_sidebar li {
   list-style: none;
   margin: 0px;
   padding: 0px;
   }
   
#l_sidebar ul li {
   list-style: none;
   margin: 0px;
   border-bottom: 1px dotted #cccccc;
   padding: 0px 0px 0px 0px;
   }
   
#l_sidebar ul li a {
   display: block;
   color: #000000;
   text-decoration: none;
   padding: 5px 0px 5px 5px;
   }

#l_sidebar ul li a:hover {
   color: #000000;
   background: #e3e3e3;
   }


#r_sidebar {
   background: #ffffff;
   color: #000000;
   width: 300px;
   float: right;
   position:relative;
   margin-top: 0px;
   margin-bottom: 20px;
   padding: 10px 15px 15px 15px;
   }
#r_sidebar p{
   margin: 0px;
   line-height: 16px;
   padding: 5px 0px 10px 0px;
   }
#r_sidebar h2 {
   color: #000000;
   background: #ffffff;
   font-size: 14px;
   font-family: Tahoma, Verdana;
   font-weight: bold;
   list-style: none;
   padding: 10px 0px 10px 0px;
   margin: 0px;
   border-bottom: 1px solid #000000;
   }


#r_sidebar ul {
   list-style: none;
   margin: 0px;
   padding: 0px 0px 20px 0px;
   }
   
#r_sidebar li {
   list-style: none;
   margin: 0px;
   padding: 0px;
   }
   
#r_sidebar ul li {
   list-style: none;
   margin: 0px;
   border-bottom: 1px dotted #cccccc;
   padding: 0px 0px 0px 0px;
   }
   
#r_sidebar ul li a {
   display: block;
   color: #000000;
   text-decoration: none;
   padding: 5px 0px 5px 5px;
   }

#r_sidebar ul li a:hover {
   color: #000000;
   background: #e3e3e3;
   }
#footer {
   background: #F3F0E7 url(images/menu.png);
   width: 958px;
   height: 32px;
   color: #FFFFFF;
   margin: 0px auto 0px;
   padding: 0px 0px 0px 0px;
   text-align: center;
   clear: both;
   }
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Isso com o plugin "web developer" do firefox é fácil de ver...

Fazes "Control+shit+y" e seleccionas o que está mal, vês logo o problema!
Offline

mix_93 
Membro
Mensagens 1630 Gostos 0
Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Isso com o plugin "web developer" do firefox é fácil de ver...

Fazes "Control+shit+y" e seleccionas o que está mal, vês logo o problema!
Até me esqueci de o usar, já está resolvido.
Offline

Nuno 
Administrador
Mensagens 7780 Gostos 216
Feedback +2

Troféus totais: 42
Trófeus: (Ver todos)
100 Poll Votes Level 7 Search Mobile User Level 6 Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes

Já agora era isto?

Código: [Seleccione]
#content {
   width: 520px;
Offline

bfms 
Equipa
Mensagens 1769 Gostos 40
Feedback +1

Troféus totais: 35
Trófeus: (Ver todos)
Search Level 6 Apple User Super Combination Combination Topic Starter 50 Poll Votes 10 Poll Votes Poll Voter Poll Starter

Acho que o erro está na div

#content onde tens
margin-left: 233px;
Offline

mix_93 
Membro
Mensagens 1630 Gostos 0
Troféus totais: 29
Trófeus: (Ver todos)
Super Combination Combination Topic Starter 10 Poll Votes Poll Voter Level 5 Level 4 Level 3 Level 2 Level 1

Acho que o erro está na div

#content onde tens
margin-left: 233px;

Sim era este o erro.  :grin: