Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: del articles

Parašė dyaz· 2008 Spa. 13 14:10:09
#1

Tai vat noriu kad patrauktumet tuos zodzius na ziurekit screene






Stai articles:


function render_article($subject, $article, $info) {

global $locale;
echo "<table width='563' height='50' border='0' cellpadding='0' cellspacing='0' align='center'>
 <tr>
  <td colspan='4'>
   <img src='".THEME."images/panelen_01.png' width='562' height='11' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='11' alt=''></td>
 </tr>
 <tr>
  <td rowspan='4'>
   <img src='".THEME."images/panelen_02.png' width='11' height='39' alt=''></td>
  <td rowspan='2' background='".THEME."images/panelen_03.png' width='424' height='16'><span style='font-family:Arial;
 font-weight: bold;
 font-size: 12px;
 color: #ffffff;'>$subject</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
  <td>
   <img src='".THEME."images/panelen_04.png' width='101' height='3' alt=''></td>
  <td rowspan='3'>
   <img src='".THEME."images/panelen_05.png' width='26' height='31' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='3' alt=''></td>
 </tr>
 <tr>
  <td rowspan='2' background='".THEME."images/panelen_06.png' width='101' height='28'><span style='font-family:Arial;
 font-size: 11px;
 color: #545454;'>Para&#353;&#279;:</span> <a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a><br><span style='font-family:Arial;
 font-size: 11px;
 color: #545454;'>Data:</span> <a>".showdate("shortdate", $info['article_date'])."</a></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='13' alt=''></td>
 </tr>
 <tr>
  <td rowspan='2'>
   <img src='".THEME."images/panelen_07.png' width='424' height='23' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='15' alt=''></td>
 </tr>
 <tr>
  <td colspan='2'>
   <img src='".THEME."images/panelen_08.png' width='127' height='8' alt=''></td>
  <td>
   <img src='".THEME."images/spacer.gif' width='1' height='8' alt=''></td>
 </tr>
</table>";
 echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
 echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td></tr></table>";



Parašė Marčius· 2008 Spa. 13 15:10:28
#2

Padėkit :(

Parašė Enzo· 2008 Spa. 13 15:10:39
#3

Man atrodo styles.css kur yra main-body, ten yra panašiai atrodanti eilutė:

padding : 4px 0px 5px 0px;




tuos skaičiukus redaguok, jei nėra tokios eilutės tai pridėk šią

Parašė dyaz· 2008 Spa. 13 16:10:14
#4

Pas manes 0 0 0 0 perziurek http://wg.xz.lt/themes/wg.xz.lt/...

Parašė Enzo· 2008 Spa. 13 16:10:38
#5

uždėk tokius kaip pas mane

Parašė Žmogus· 2008 Spa. 13 16:10:30
#6

padding : 10px 25px 10px 25px;

Virsus, Kaire, Apacia, Desine

Parašė dyaz· 2008 Spa. 13 16:10:16
#7

body {
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:10px;
   background: #343434;
   color:#333;
        padding:0px 0px 0px 0px;
   margin-top: 20px;
   margin-left: 0px;
   margin-right: 0px;
   margin-bottom: 10px;
}

a {
   font-family: Arial;
   color: #f7f7f7;
   font-size: 11px;
   text-decoration:none;
}

a:hover {
   font-family: Arial;
   color: #c4c4c4;
   font-size: 11px;
   text-decoration:underline;
}

a.head {
   font-family: Arial;
   color: #c4c4c4;
   font-size: 9px;
   text-decoration:underline;
}

a:hover.head {
   font-family: Arial;
   color: #c4c4c4;
   font-size: 9px;
   text-decoration:underline;
}

a.new {
   font-family: Arial;
   color: #ffffff;
   font-size: 10px;
   text-decoration:underline;
}

a:hover.new {
   font-family: Arial;
   color: #ffffff;
   font-size: 10px;
   text-decoration:underline;
}

a.side {
   font-family: Arial;
   color: #f7f7f7;
   font-size: 11px;
   text-decoration:none;
}

a:hover.side {
   font-family: Arial;
   color: #c4c4c4;
   font-size: 11px;
   text-decoration:underline;
}

form {
   margin:0px 0px 0px 0px;
}

hr {
   border-top:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

hr.side-hr {
   border:1px #E2E2E2 solid;
   border-bottom:1px #F9F9F9 solid;
}

td {
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:10px;
}

pre {
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:9px;
}


.button {
   font-family:Arial;
   font-size:10px;
   color:#f7f7f7;
   border:1px #302f2f solid;
   background-image:url(images/button.png);
   margin-top:5px;
}

.textboxas {
   font-family:Arial;
   font-size:11px;
   color:#c4c4c4;
   background-color:fefefc;
   border:1px #ededed solid;
   padding:1px 4px 0px 6px;
}
   
.textbox {
   font-family:Arial;
   font-size:10px;
   color:#f7f7f7;
   background-color:2b2b2b;
   border:1px #302f2f solid;
}

.main-bodis {
   font-family:Arial;
   font-size: 10px;
   color: #ffffff;
   padding:6px 4px 6px 6px;
}

.main-body {
   font-family:Arial;
   font-size: 10px;
   color: #ffffff;
   padding:0px 4px 6px 6px;
}

.table-cellpic {
   font-size: 11px;
   font-weight: bold;
   text-align:center;
   color: #333;
   background-color: #FFFFFF;
   background-image: url(images/cellpic.gif);
   padding:1px 6px 0px 22px;
   text-transform:uppercase;
   
}

.side-body {
   font-family: Arial;
   color: #f7f7f7;
   font-size: 11px;
   padding:4px 4px 6px 4px;
}

.footer {
   font-family:Verdana,Tahoma,Helvetica,Arial,Sans-Serif;
   font-size:10px;
   color:#FFFFFF;
   background-color:#FFFFFF;
    background-image: url(images/footer.gif);
   border-top:1px #CACACA dashed; border-bottom:1px #CACACA dashed;
   padding:4px 3px 4px 4px;
}

img {
   border: 0px;
}

.tbl-border {
   background-color:#404040;
}

.tbl {
   font-size:11px;
   color:#ffffff; 
   padding:4px;
}

.tbl1 {
   font-size:11px;
   color:#ffffff;
   background-color:#2e2e2e;
   padding:4px;
}

.tbl2 {
   font-size:11px;
   color:#ffffff;
   background-color:#2e2e2e;
   padding:4px;
}

.forum-caption {
   font-size:10px;
   font-weight:bold;
   color:#ffffff;
   background-color:#2e2e2e;
   height:24px;
   padding:0px 4px 2px 4px;
}
.forum {
 font-size:10px;
 color:#ffffff;

}


.quote {
   color:#2E4D80;
   background-color:#1c1717;
   padding:2px;
   margin:0px 19px 0px 20px;
   border:1px #CACACA solid;
}

.poll {
   height:18px;
   border:1px #302f2f solid;
}

.comment-name {
   font-weight:bold;
   color:#ffffff;
}

.shoutboxname {
   font-weight:light;
   color:#ffffff;
}


.shoutbox {
   color:#f7f7f7;
}

.shoutboxdate {
   font-size:10px;
   color:#f7f7f7;
}

.small {
   color: #f7f7f7;
   font-size:10px;
   font-weight:normal;
}

.small2 {
   font-size:10px;
   font-weight:normal;
   color:#f7f7f7;
}

.side-small {
   font-size:10px;
   font-weight:normal;
   color:#f7f7f7;
}

.side-label {
   background-color:#E3E3E3;
   font-weight:normal;
   color:#f7f7f7;
   padding:2px;
}

.gallery {
   padding: 16px 0px 8px 0px;
}

.gallery img {
   border: 1px solid #CACACA;
   filter: gray;
}

.gallery:hover img {
   border: 1px solid #4E79F3;
   filter: none;
}

img.activegallery   {
   border: 1px solid #CACACA;
   filter: none;
}




jej galit :D

Parašė dyaz· 2008 Spa. 13 16:10:51
#8

O ce i katra rasyt? daug padding yra rasyt i
.textboxas {


?

Parašė Enzo· 2008 Spa. 13 16:10:13
#9

aš gi sakiau į main-body rašyk

Parašė dyaz· 2008 Spa. 13 16:10:21
#10

Danke, viskas vejkia ;)