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
Parašė Inspire· 2009 Gru. 1 22:12:22
#3
.panel-center-left {
width:0px; height:53px;
}
.panel-center-right {
width:0px; height:53px;
}
.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/newsmain.gif);
background-repeat:repeat-x;
}
Bandyk ;)
Redagavo Inspire· 2009 Gru. 1 22:12:33
Parašė AreNh· 2009 Gru. 1 22:12:31
#4
Nepilnai paiima ta newsmain :D paziurek
www.testuoju.wu.lt :) ( ta spalva tik siaip kaip pavizdi paemiau :D )
}
.newsmain {
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 9px;
font-weight : bold;
color : #fff;
background: url(images/newsmain.gif);
padding-left : 180px;
padding-top : 5px;
height: 53px;
}
styles.css dar sitas kodas yra gal cia ka reik padaryt :) ?
Redagavo AreNh· 2009 Gru. 1 22:12:30
Parašė Inspire· 2009 Gru. 1 22:12:32
#5
Duok savo skype :) Pabandysiu padėt ;)
Redagavo Inspire· 2009 Gru. 1 22:12:21