Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Cellpic'ai

Parašė DJFainulka· 2009 Bir. 19 21:06:06
#10

Jei rašau šį kodą:


function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>
<td height='30' class='sone-kaire'></td>
<td height='30' class='vidurys'>$title</td>
<td height='30' class='sone-desine'></td>
</tr>
<tr><td class='vbody'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}




gaunasi taip:




Styles.css:

.sone-kaire {
font-family : Verdana;
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-image: url('images/kaire.png');
background-repeat:no-repeat;
}

.vidurys {
font-family : Verdana;
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-image: url('images/vidurys.png');
background-repeat:repeat-x;
}

.sone-desine {
font-family : Verdana;
font-size : 11px;
font-weight : bold;
color : #ffffff;
background-image: url('images/desine.png');
background-repeat:no-repeat;
}




Ką blogai darau?