Navigacija

Vartotojų tinkle

Prisijungusių svečių: 80
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,957
Naujausias narys: keistuole

Naujausi straipsniai

Paskutiniai nariai

Darexs 1 savaitė
Nepas 1 savaitė
keistuole 4 savaitės
Gizmis 5 savaitės
Reikalas 5 savaitės
Rytis14 savaitės
MaFetas19 savaitės
ozzWANTED20 savaitės
saulyzas22 savaitės
TOMIJUS23 savaitės
Jaunelis38 savaitės
lanis39 savaitės
And2s40 savaitės
Memento Mori44 savaitės
Quwqkibor47 savaitės
asirija51 savaitės
tomeem53 savaitės
weberiz56 savaitės
mRokass58 savaitės
kartoonas60 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 160.79.109.167
Naujienų: 529
Straipsnių: 235
Temų: 52,589
Postų: 522,539
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

Nepas
2025 Bal. 9 17:04:13
drovus

Nepas
2025 Bal. 9 17:04:08
drovus

Gizmis
2025 Kov. 15 14:03:50
OMG, smagu matyt sita puslapi veikianti

ozzWANTED
2024 Lap. 30 15:11:14
Taip, vis dar up šypsosi

MaFetas
2024 Lap. 13 22:11:57
hey how, geras dar veikiantis saitas?

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
Themų kodvavimo klausimynas,
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes

Autorius: ChecK Peržiūrų: 4437      Spausdinti temą
2009 Bir. 18 14:06:52          1 žinutė iš 13
Spausdinti pranešimą
Sveiki,
Bandau koduoti tokį dizą, ir man tarp cellpico ir head'o gaunasi tarpai :

Style.css :

a {
   color : #005599;
   text-decoration : none;
}

a:hover {
   color : #005599;
   text-decoration : underline;
}

a.side {
   color : #005599;
   text-decoration : none;
}

a:hover.side {
   color : #005599;
   text-decoration : underline;
}

a.white {
   color : #ddd;
   text-decoration : none;
}

a:hover.white {
   color : #ddd;
   text-decoration : underline;
}

body {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   background: #f1f1e9 url(images/bg.gif);
   font-size : 11px;
}

form {
   margin : 0px;
}

hr {
   height : 1px;
   border : 1px solid #eee;
}

hr.side-hr {
   height : 1px;
   border : 1px solid #eee;
}

td {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

pre {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

.alt {
   color : #005599;
}
 
.white-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #fff;
   border-top : 1px solid #ccc;
   border-bottom : 1px solid #e1e1e1;
   padding : 5px;
}

.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
   background-color : #006699;
   padding : 5px;
}

.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #aaa;
   background-color : #006699;
   background-image : url(images/footer.gif);
   border-top : 1px solid #e1e1e1;
   padding : 5px;
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   height : 20px;
   border : 1px solid #ccc;
   margin-top : 2px;
}

.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #555;
   background-color : #f8f8f8;
   border : 1px solid #ccc;
}

.main-body {
   font-size : 11px;
   color : #555;
   background-image : url(images/bg2.gif);
   background-color : #fff;
   padding : 4px 4px 5px 4px;
}

.side-body {
   font-size : 10px;
   color : #777;
   background-image : url(images/bg2.gif);
   background-color : #fff;
   padding : 3px;
}

.main-bg {
   color : #555;
   background-image : url(images/bg2.gif);
   background-color : #fff;
   padding : 5x;
}

.outer-border {
   border : 1px solid #ccc;
}

.border {
   border : 1px solid #e1e1e1;
}

.side-border-left {
   border-right : 1px solid #e1e1e1;
   padding : 5px;
}

.side-border-right {
   border-left : 1px solid #e1e1e1;
   padding : 5px;
}

.news-footer {
   font-size : 10px;
   color : #555;
   background-color : #f1f1f1;
   background-image : url(images/centerdown.png);
   border-top : 1px solid #e1e1e1;
   padding : 3px 4px 4px 4px;
}

.a-footer {
   font-size : 10px;
   color : #fff;
   height: 20px;
   background-image : url(images/paneldown.png);
   padding : 3px 4px 4px 4px;
}

.capmain {
   font-family : Arial;
   font-size : 12px;
   font-weight : bold;
   color : #fff;
   text-align:left;
       height:35px;
   background-image: url(images/cellpic1.gif);
   padding : 10px 20px 5px 30px;
}

.scapmain {
   font-family : Arial;
   font-size : 12px;
   font-weight : bold;
   color : #fff;
   text-align:center;
   height:35px;
   background-image: url(images/cellpic.gif);
   padding : 2px 2px 0px 7px;
}
.tbl-border {
   color : #555;
   background-color : #e1e1e1;
}

.tbl {
   font-size : 11px;
   color : #555;
   background-color : #fff;
   padding : 4px;
}

.tbl1 {
   font-size : 11px;
   color : #555;
   background-color : #fff;
   padding : 4px;
}

.tbl2 {
   font-size : 11px;
   color : #555;
   background-color : #f1f1f1;
   padding : 4px;
}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #888;
   background-color : #f1f1f1;
   padding : 2px 4px 4px 4px;
}

.quote {
   font-size : 11px;
   color : #555;
   background-color : #f8f8f8;
   padding : 4px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #bbb;
}

.poll {
   height : 12px;
   border : 1px solid #000;
}

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

.shoutboxname {
   font-weight : bold;
   color : #005599;
   background-color : #fff;
}

.shoutbox {
   color : #777;
   background-color : #fff;
}

.shoutboxdate {
   font-size : 10px;
   color : #888;
   background-color : #fff;
}

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

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

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

.side-label {
   color : #555;
   background-color : #f1f1f1;
   padding : 2px 2px 3px 2px;
}





2)

.white-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #fff;
   padding : 0px 0px 0px 0px ;
   height: 20px;
   width: 900px;
   background-image: url(images/fonas.gif);
   background-color : #ffffff;
   border : 2px solid #ffffff;
}




Su paddingu bandžiau nėjo. Kad būtų normaliai susispdaudęs su headu ir apatine panele.

Jeigu reikai theme.php sakykit, be atrodo kad paddinge čia probleme.

Kode kur yra klaida jei galit parašykite kur, kad kitą kartą neadryčiau tokių klaidų.

Geriau būtų be off-topic.


Redagavo ChecK 2009 Bir. 19 18:06:45
2009 Bir. 18 17:06:30          2 žinutė iš 13
Spausdinti pranešimą
Up.

2009 Bir. 18 19:06:29          3 žinutė iš 13
Spausdinti pranešimą
.scapmain {
   font-family : Arial;
   font-size : 12px;
   font-weight : bold;
   color : #fff;
   text-align:center;
   height:35px;
   background-image: url(images/cellpic.gif);
   padding : 2px 2px 0px 7px;



2009 Bir. 18 19:06:56          4 žinutė iš 13
Spausdinti pranešimą
eik tu kumedy
-------------------

prie side-border-left ir right padding padaryk:

padding: 0px 0px 0px 0px;

2009 Bir. 18 21:06:23          5 žinutė iš 13
Spausdinti pranešimą
coreN parašė:
eik tu kumedy
-------------------

prie side-border-left ir right padding padaryk:

padding: 0px 0px 0px 0px;


Joks aš ne kumedys genijau. Aš parodžiau kurią vietą keist.
2009 Bir. 19 18:06:22          6 žinutė iš 13
Spausdinti pranešimą
Ačiū.

2)

.white-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #fff;
   padding : 0px 0px 0px 0px ;
   height: 20px;
   width: 900px;
   background-image: url(images/fonas.gif);
   background-color : #ffffff;
   border : 2px solid #ffffff;
}




Su paddingu bandžiau nėjo. Kad būtų normaliai susispdaudęs su headu ir apatine panele.

2009 Bir. 19 18:06:57          7 žinutė iš 13
Spausdinti pranešimą
cia gal sub-header, ten bandyk padding 0 0 0 0

2009 Bir. 19 18:06:04          8 žinutė iš 13
Spausdinti pranešimą
Čia ir yra sub-header, tik pas mane ne sub vadinasi o white, 0 padding'ą bandžiau.

2009 Bir. 19 18:06:56          9 žinutė iš 13
Spausdinti pranešimą
borisai, paziurek tiksliai koke class, nes su padding turi veikt

2009 Bir. 19 18:06:40          10 žinutė iš 13
Spausdinti pranešimą
Borisai, <table align='center'><td class='white-header'>

2009 Bir. 19 19:06:07          11 žinutė iš 13
Spausdinti pranešimą
duok tu visą theme.php
2009 Bir. 19 19:06:49          12 žinutė iš 13
Spausdinti pranešimą
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#ffffff";
$theme_width = "950px";
$theme_width_l = "250";
$theme_width_r = "250";

function render_header($header_content) {


global $theme_width,$settings;$db_prefix;
   echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='right' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td><table align='left' width='100%' cellspacing='0' cellpadding='0'>";
   echo "<tr><td class='header' width='100%'>";



include_once "header.php";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n
<td align='center'><table align='center'><td class='white-header'>".showsublinks("&middot;")."

</center>
</table>\n";

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n\n";

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer'>".stripslashes($settings['footer'])."<br>\n";
if (!$license) { echo showcopyright("white")."\n"; } echo showcounter()."<br><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='main-body'>$news</td>

<td class='capmain'>$subject</td>

<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "

</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>

<td class='capmain'>$subject</td>

<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"&middot;").closeform("A",$info['article_id']);


}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>




2009 Bir. 20 16:06:29          13 žinutė iš 13
Spausdinti pranešimą
Bl.et, nuimk border: 2px; viskas ok bus. nuo white-header

Peršokti į forumą: