Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Padekite del centrines paneles ! :)

Parašė AreNh· 2009 Gru. 1 21:12:34
#1

Reikia pagalbos del center ( puslapio viduryje esancios paneles ) ji yra sudaryta is 3 daliu, bet pamaniau ar nebutu imanoma, kad imtu viena dali, kuri butu pilna ta panele stai nuotraukos, kad suprastumete apie ka kalbu :)


Taigi gal galima kaip nors pakeisti ta koda, kad jis ne is 3 daliu sudarytu ta panele centrine o is vienos kaip nuotraukoje tas newsmain.gif as jy pakeisciau tada ir tureciau kita panele ar visgi man reikes 3 dalis darytis ta panele?
Stai kodas:



function opentable($title) {

   echo "<table width='100%' cellpadding='0' cellspacing='0'>";
   echo "<tr><td class='panel-center-left'><img src='".THEME."images/blank.gif' width='66' height='53' alt='' style='display:block'></td>";
   echo "<td width='100%' class='panel-center-main' align='center'>$title</td>";
   echo "<td class='panel-center-right'><img src='".THEME."images/blank.gif' width='79' height='53' alt='' style='display:block'></td>";
   echo "</tr></table>";
   echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";

   echo "<td class='main-body'>\n";
}




Tikriausiai sitas kodas :D kadangi naujokas php fusione tai visko gali buti :D

Stai is styles.css kodai kuriu prasiai :)



}

.panel-center-left {
   width:66px; height:53px;
   background-image:url(images/panel-center-left.gif);
}

.panel-center-right {
   width:79px; height:53px;
   background-image:url(images/panel-center-right.gif);
}

.panel-center-main {
   font-family:Sans-Serif;
   font-size:10px;
        font-weight:bold;
        color:#fff;
   height:53px;
   padding:5px 0px 0px 2px;
   background-image:url(images/panel-center-main.gif);
   background-repeat:repeat-x;
}





Redagavo AreNh· 2009 Gru. 1 21:12:14