PDA

Zobacz pełną wersję : Problem z własnym szablonem Joomla



docent538
29-01-2011, 15:44
Witam mam taki problem. Nie wyświetla mi sie grafika.Strona zrobiona za pomocą html i css. Tak jak by były złe ścieżki (a są dobre). Wyświetla się tylko część grafiki, wybrane fragmenty. Szablona działa normalnie , nie działa tylko na Joomla .

Kod html (mogą być byki :D)


<?php

?>

<html>



<title>"Zasady Biznesu"</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<jdoc:include type="head" />

<link rel="stylesheet" href="templates/<?php echo $this->template ?>/style.css" type="text/css" />


</head>

<body>

<div class="banerek"> </div>
<jdoc:include type="message" />

<div class="banerek"> </div></div>
<center>

<div class="baner_gora">


<a href="* " ><img src="email_gif/email3.png" border="0" align="right"></a>
<a href="index.html" ><img src="home_gif/home2.png" border="0" align="right"></a>




</div></div></td>
</table>
<center>


<table border="0" width="800px" height="600px" cellspacing="0" cellpadding="0" align="center">

<td width="240"><div class="baner_srodek" ><div class="menu_lewa"><div class="margin">




<div class="menu">


<jdoc:include type="modules" name="left" style="left_menu" />




</div>
<br><center>
<object width="150" height="150" type="application/x-shockwave-flash"
data="http://dodatki.blogowicz.info/zegarek2.swf" title="dodatki.blogowicz.info">
<param name="type" value="application/x-shockwave-flash" />
<param name="src" value="http://dodatki.blogowicz.info/zegarek2.swf" />
<param name="loop" value="true" />
<param name="wmode" value="transparent">
<param name="quality" value="high" />
</object></center>

</div> </div>

</td>



<td>

<div class="baner_srodek">
<div class="baner_srodek" >

<div class="baner_tytul_text">"Tytul strony" </div>
<div class="text" >

<jdoc:include type="modules" name="top" />

<jdoc:include type="component" />




</div></div> </td>
</table>


<div class="tlo_baner_dol">
<center><div class="baner_dol"><div class="baner_dol_text">Copyright © 2011 </div></div></center>
</div>








</body>
</html>







Kod Css//








body{background-color:#222222;margin:0;background-image:url('pocieta_strona/tlo.jpg');}

.baner_gora{background-image:url('pocieta_strona/baner_gora.jpg');margin-left: auto;margin-right: auto;-webkit-border-top-left-radius: 5px;

-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;background-color:black; width:800px;height:183px;position:relative;}




.baner_dol{background-image:url('pocieta_strona/baner_dol.jpg');margin-left: auto;margin-right: auto;width:800;height:50;-webkit-border-bottom-right-radius: 5px;

-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;}


.baner_dol_text{padding:17;font-weight:bold;color:white;font-family:arial;font-size:15;}
.menu_lewa{background-image:url('pocieta_strona/menu_lewa.jpg');width:229;height:568;margin-left:0;background-color:black;position:absolute;background-repeat:no-repeat;}
.baner_srodek{background-image:url('pocieta_strona/baner_srodek.jpg');height:100%; );background-color:black;}
.menu_baner{background-image:url('pocieta_strona/menu_lewa.jpg');}
.text{margin-right:2px;color:white;border-bottom:1x;margin-bottom:20px;margin-top:7;}



.menu{
list-style: none;
margin:0px;
margin-left:0px;
padding:0px;



}
.menu li a{
margin-top:0;
padding:0;
font:left;
display:block;
width:190px;
height:39px;
background:url("pocieta_strona/buttom.gif");
border-bottom:1px solid #000000;
color:white;
text-align:center;
font-family:arial;
font-size:12px;
font-weight:bold;
text-decoration:none;
}
.menu li a:hover{

text-align:center;
border-bottom:1px solid #454647;
color:#FFFF66;
text-decoration:line;
font-family:Arial;
font-size:14px;
font-weight:bold;
background:url("pocieta_strona/buttom2.gif");
width:190;
height:36;


}

li{list-style-type: none}
.margin{margin-top:50;}
A{text-decoration: none}
.baner_tytul_text{background:url("pocieta_strona/baner_tytul_srodek.jpg");height:35;margin-right:10px;text-align:center;font-family:arial;color:#FFFF00;font-weight:bold;-webkit-border-radius: 10px;-moz-border-radius: 10px;border-radius: 10px;}
.banerek{background:url("pocieta_strona/banerek.jpg"); width:100%;position:absolute;height:160;margin:0:}
hr{margin-right:10px;color:8B0000;}
.tlo_baner_dol{background:url("pocieta_strona/tlo_dolny_baner.jpg");}


3574

//kod umieszczamy w przeznaczonych do tego znacznikach (# w edytorze)
palyga007

moje
29-01-2011, 16:04
1. Podaj link do strony.
2. Widzę, że kolega lubi antyki -> windows-1250 :blink:
3. Nie wyświetla się grafika bo masz nie poprawne ścieżki do plików w kodzie html.

docent538
29-01-2011, 16:40
Poprawnie są bo szablon normalnie w przeglądarce się wyświetla bez joomla.
Nie mogę wysłać linka bo mam to na kompie i testuje na Krasnalu.

---------- Post dodany o 16:40 ---------- Poprzedni post był o 16:37 ----------

windows-1250 używam bo działa poprawnie a na innym się zawiodłem parę razy

palyga007
29-01-2011, 16:44
@docent538
Skoro wiesz lepiej to dlaczego szukasz pomocy na forum?

docent538
29-01-2011, 16:45
Już problem rozwiązałem ZAMYKAM :)