Początkujący
Postów: 113 Pomógł: 6
v9.00.00 Data rejestracji: 12.04.2007 23:54
|
Witam. Mam taki problemik. Otóż w wersji 6.01 nie było odstępów między panelami w tej skórce. Natomiast w wersji 7.0 są odstępy między panelami. Chciałbym żeby tak jak w tamtej wersji ich nie było.
Niestety nie za bardzo wiem co za to odpowiada w kodzie skórki i jak to zmienić aby było po staremu. Te odstępy są jakieś nieestetyczne, a ciąg podkładu ładnie wygląda.
Załączam screena i kod skórki.
<?
if (!defined("IN_FUSION")) { die("Access Denied"); }
// theme settings
define("THEME_BULLET", "<span class='bullet'>·</span>");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $settings;
echo "<table align='center' cellspacing='0' cellpadding='0' id='main'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='1007'>
<tr>
<td class='full-header' align='center'>
<table cellpadding='0' cellspacing='0' width='100#'>
<tr>
<td>".showbanners()."</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='tablebreak'>
<tr>
<td class='white-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>
<td align='right' class='white-header'>".showsubdate()."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='1000'>
<tr>";
if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
echo "
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='footer'><br>".stripslashes($settings['footer'])."</td>
</tr>
<tr>
<td align='center' class='footer'>\n";
if ($license == false) {
echo showcopyright();
}
echo showcounter()."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom:2px;'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td align='right' class='news-footer'>".
newsposter($info, THEME_BULLET).newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "
<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom:2px;'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%' class='border tablebreak'>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='right' class='news-footer'>".
articleposter($info, THEME_BULLET).articleopts($info, THEME_BULLET).itemoptions("A",$info['article_id'])."
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-bottom:2px;'>
<tr>
<td align='center' class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0' class='border tablebreak'>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "
</td>
</tr>
</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='tablebreak2'>
<tr>
<td colspan='2' class='side-body'><img src='".THEME."images/blank.gif' alt='' height='2' width='1' /></td>
</tr>
<tr>
<td align='center' class='scapmain'>$title</td>
".($collapse ? "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>" : "")."
</tr>
<tr>
<td colspan='2' class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
if ($panel_collapse == true) { echo "</div>"; }
echo "
</td>
</tr>
</table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
EDYCJA:
Dodałem również style.css:
a {
color:#007900;
text-decoration:none;
}
a:hover {
color:#888;
text-decoration:underline;
}
a.side {
color: #007900;
text-decoration:none;
text-align:left;
}
a:hover.side {
color:#888;
text-decoration:underline;
}
li.white a, a.white{
color:#e1e1e1;
text-decoration:none;
}
li.white
a:hover, a:hover.white {
color#e1e1e1;
text-decoration:underline; }
body {
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
margin:0px;
}
#main {
width: 1000;
}
form { margin:0px 0px 0px 0px; }
hr { height:2px;
border-bottom:#fff 1px solid;
border-top:#efeff4 1px solid;
}
hr.side-hr {
height:2px;
border-bottom:#fffff4 1px solid;
border-top:#cfcfd4 1px solid;
}
td {
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
}
pre {
font-family:Arial,Helvetica,sans-serif;
font-size:10px;
}
.alt {
color:#555;
}
.white-header {
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color:#fff;
background-color:#444;
padding:4px 10px 4px 10px;
}
.white-header ul{
margin: 0;
padding: 0;
}
.white-header ul li{ display: inline;
}
.white-header ul li.first-link .bullet{ display: none;
}
.full-header {
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
color:#000;
background-color:#fff;
padding:5px 10px 5px 10px;
}
.footer {
font-family:Arial,Helvetica,sans-serif;
font-size:10px;
color:#666;
background-color:#DFEFD3;
padding:4px 10px 4px 10px;
}
.button {
font-family:"trebuchet ms",Tahoma,Arial,Verdana,Sans-Serif;
font-size:11px;
color:#fff;
background-color:#444;
height:20px;
border:1px #fff solid;
margin-top:2px;
}
.bbcode { border: 1px solid #ccc; }
.textbox {
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
color:#444;
background-color:#fff;
border:1px #444 solid;
}
.main-body {
font-size:12px;
color:#444;
background-color:#fff;
padding:4px 4px 5px 4px;
}
.side-body {
font-size:12px;
color:#007900;
background-color:#DFEFD3;
padding:4px;
text-align:left;
}
.main-bg { background-color:#fff;
padding:0px 0px 5px 0px; }
.border { border:1px #666 solid; }
.side-border-left {
padding:0px 10px 0px 10px;
width: 195px;
}
.side-border-right {
padding:0px 10px 0px 10px;
width: 170px;
}
.news-footer {
font-size:11px;
color:#555;
background-color : #DFEFD3;
padding:3px 4px 4px 4px;
text-align:center;
}
.barmain {
font-family:Arial,Helvetica,sans-serif;
font-size:10px;
color:#aaa;
padding:4px 4px 4px 4px;
}
.capmain {
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
color:#fff;
background-color:#444;
text-align:center;
padding:2px 4px 4px 4px;
}
.scapmain {
font-family:Arial,Helvetica,sans-serif;
font-size:11px;
font-weight:bold;
color:#444;
background-color:#DFEFD3;
padding:4px 4px 4px 4px;
}
.tbl-border { background-color:#DFEFD3;
}
.tbl { font-size:12px;
padding:4px;
background-color:#fff;
}
.tbl1 { font-size:12px;
color:#444;
padding:4px;
background-color:#fff;
}
.tbl2 { font-size:12px;
color:#444;
background-color:#DFEFD3;
padding:4px; }
.forum-caption {
font-size:11px; font-weight:bold;
color:#fff;
background-color:#444;
padding:2px 4px 4px 4px;
}
.quote {
color:#000;
background-color:#efeff4;
padding:4px;
margin:0px 20px 0px 20px;
border:1px #444 solid;
}
.poll { height:12px; border:1px #000 solid;
}
.comment-name { font-weight:bold; color:#666;
background-color:#DFEFD3;
}
.shoutboxname { font-weight:bold;
color:#efeff4;
}
.shoutbox { color:#666;
}
.shoutboxdate { font-size:9px;
color:#888;
}
.small { font-size:12px;
font-weight:normal;
text-align:left;
}
.small2 { font-size:12px;
font-weight:normal;
color:#666;
}
.side-small { font-size:11px;
font-weight:normal;
color:#444;
background-color : #FFFFCC;
text-align:left;
}
.side-label { color : #007900;
padding:2px;
background-color:#DFEFD3;
}
.gallery { padding: 16px 0px 8px 0px;
}
.gallery img { border: 1px solid #ccc;
}
.gallery:hover img { border: 1px solid red;
}
img.activegallery { border: 1px solid green;
}
#navigation ul {
margin: 0;
padding: 0;
list-style-type: none;
}
#navigation h2 {
font-size: 12px;
color: #555;
background-color: #fff;
margin: 0;
padding: 2px;
}
#navigation a {
display: block;
color: #777;
padding: 2px;
text-decoration : none;
}
#navigation a:hover {
color: #f6f6f6;
background-color: #ccc;
}
* html #navigation ul li{
height: 1%;
}
.pagenav span {
color: #777;
background-color: #DFEFD3;
border: 1px solid #e1e1e1;
padding: 2px 4px;
margin: 2px;
}
.pagenav a {
color: #000;
background-color: #fff;
border: 1px solid #e1e1e1;
padding: 2px 4px;
margin: 2px;
text-decoration: none;
}
.pagenav a:hover {
color: #ccc;
background-color: #444;
text-decoration: none;
}
.tablebreak { margin-bottom: 8px; }
.tablebreak2 { margin-bottom: 0px; }
.admin-message {
border: 1px solid #666;
border-left: 3px solid #999;
padding: 8px;
margin-bottom: 8px;
}
.center, *[align="center"] {margin: 0 auto;}
.profil { font-size:12px;
font-weight: bold;
padding:4px;
background-color:#DFEFD3;
font-family:Arial,Helvetica,sans-serif;
color:#007900;
}
.motto {
color:#3B4471;
padding:0;
font-size:14px;
margin:0px;
font-weight:normal;
font-style:italic;
font-family:"Trebuchet MS", verdana, arial, sans-serif;
}
.motto2 {
color:#800000;
padding:0;
font-size:20px;
margin:0px;
font-weight:normal;
font-style:italic;
font-family:"Trebuchet MS", verdana, arial, sans-serif;
}
.tytul {
padding:0;
margin:0;
font-size:40px;
font-weight:normal;
font-style:italic;
color:#007900;
font-family:"Trebuchet MS", verdana, arial, sans-serif;
}
Kliknij i zaczekaj na załadowanie kodu ...
Proszę o pomoc.
Z góry serdecznie dziękuję.
EDYCJA
Doszedłem z tymi odstępami. Nie mogę jedynie dojść jak zlikwidować wokół tej losowej fotki. Dalej jest odstęp jakiś dziwny i stylach niby nie ma ich ale mogę się mylić.
PW od moderatora:
- Odświeżenie Tematu - Pieka 13.01 - 21:01
Edytowane przez Pieta dnia 14.01.2009 21:11:37
Pieta. Ten znad morza
|