|
Nie umiem zgra? wszystkich tabel - strona rozsiana po monitorze
|
| Kobra |
Dodany dnia 24.03.2009 18:51:45
|

Przedszkolak

Postów: 3
Data rejestracji: 17.08.2005 16:11
|
Moi drodzy.
Sprawa nast?puj?ca.
Mam stron?, php-fusion 7 i... skórk? Sunsed.
Obecnie strona ustawia mi si? do przegl?danej rozdzielczo?ci, a ja chc? mie? sta?? rozdzielczo??. 1024 szeroko??.
Problem jest nast?puj?cy, ?rodek strony ustawi?em, ale za choler? nie mog? sobie poradzi? z tabel? od stopki.
Tu macie adres do wgl?dni?cia: http://maxxxymaln...hostia.com
B??d widoczny po prawej stronie. Wszystko jest na 1000 px, a dó? si? wychyla szerzej.
Powiecie, ?eby w skórce poszuka?, siedz? w tym od wczorajszego wieczoru i ju? mam do??, bo wszystkiego próbuje i nic.
Mog? wklei? kod skórki.
Edytowane przez jantom dnia 02.04.2009 15:55:25
|
| |
|
|
| W?cibski Go?? |
Dodany dnia 25.10.2025 14:49:39
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
| IP: localhost |
|
|
| lupozo |
Dodany dnia 24.03.2009 18:58:14
|

Pocz?tkuj?cy

Postów: 192 Pomógł: 18
Data rejestracji: 19.02.2009 18:55
|
Prawdopodobnie nie zmieni?e? szeroko?ci stopki, daj themes.php a postaram si? pomóc.
|
| |
|
|
| Kobra |
Dodany dnia 24.03.2009 19:04:50
|

Przedszkolak

Postów: 3
Data rejestracji: 17.08.2005 16:11
|
<?php
/*
Sunset v1.1 theme for PHP-Fusion v7.00+
Author: Nick "Digitanium" Jones (http://www.php-fusion.co.uk/)
Conversion to v7 by: Kenneth Boldt (http://php-fusion.boldt.me/)
Released under the Affero GPLv3
Changes:
v1.1: Issue with tablebreaks fixed
*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
// theme settings
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $theme_width,$settings,$locale;
//header
echo "<table align='center' cellspacing='0' cellpadding='0' style='border:1px #555 solid;' id='main'>
<tr>
<td>
<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>
<td class='1000 px' style='padding:5px;'>
<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>
<td>".showbanners()."</td>
</tr>
</table>
</td>
</tr>
</table>
<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>
<td class='white-header'>".showsublinks(" <span class='bullet'>·</span> ", "white")."</td>
<td class='white-header' align='right'>".showsubdate()."</td>
</tr>
</table>";
//content
echo "<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>\n";
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>"; }
//footer
echo "
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br />";
echo "Sunset theme originally by <a href='http://www.php-fusion.co.uk' target='_blank'>Digitanium</a>. Converted to PHP-Fusion v7 by <a href='http://php-fusion.boldt.me' target='_blank'>Kenneth</a>.<br /><br />";
if ($license == false) { echo showcopyright(); }
echo "<br /><br />".showcounter()."<br /><br />
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border tablebreak'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>".
newsposter($info, THEME_BULLET).newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>".
articleposter($info, THEME_BULLET).articleopts($info, THEME_BULLET).itemoptions("A",$info['article_id'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border tablebreak'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
".($collapse ? "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>" : "")."
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
echo "
</td>
</tr>
</table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
Kodu nie podajemy w [quote] a w [chili]. // hoopak
Edytowane przez hoopak dnia 24.03.2009 19:45:30
|
| |
|
|
| lupozo |
Dodany dnia 24.03.2009 19:30:58
|

Pocz?tkuj?cy

Postów: 192 Pomógł: 18
Data rejestracji: 19.02.2009 18:55
|
Jak pisa?em w szeroko?ci stopki masz 100%, na ko?cu funkcji render_page masz:
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br />";
echo "Sunset theme originally by <a href='http://www.php-fusion.co.uk' target='_blank'>Digitanium</a>. Converted to PHP-Fusion v7 by <a href='http://php-fusion.boldt.me' target='_blank'>Kenneth</a>.<br /><br />";
if ($license == false) { echo showcopyright(); }
echo "<br /><br />".showcounter()."<br /><br />
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
Kliknij i zaczekaj na załadowanie kodu ...
Zmie?: 100% na: 1000px
|
| |
|
|
| Kobra |
Dodany dnia 24.03.2009 19:45:21
|

Przedszkolak

Postów: 3
Data rejestracji: 17.08.2005 16:11
|
No dobra, dzi?kuj? 
Ale... looknij teraz.
Pozostaje ta ramka... tak ni z.... 
Hmm ? |
| |
|
|
| Yohnny |
Dodany dnia 02.04.2009 14:57:19
|

Przedszkolak

Postów: 3
Data rejestracji: 02.04.2009 14:54
|
Nie mog? si? z tym upora?.
Zrobi?em wszystko zgodnie ze wskazówkami lupozo ale dalej po prawej mam rozjechan? ramk?.
Zreszt? sprawd?cie sami: www.tmd-clan.pl
<?php
/*
Sunset v1.1 theme for PHP-Fusion v7.00+
Author: Nick "Digitanium" Jones (http://www.php-fusion.co.uk/)
Conversion to v7 by: Kenneth Boldt (http://php-fusion.boldt.me/)
Released under the Affero GPLv3
Changes:
v1.1: Issue with tablebreaks fixed
*/
if (!defined("IN_FUSION")) { die("Access Denied"); }
// theme settings
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";
function render_page($license=false) {
global $theme_width,$settings,$locale;
//header
echo "<table align='center' cellspacing='0' cellpadding='0' style='border:1px #555 solid;' id='main'>
<tr>
<td>
<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>
<td class='1000 px' style='padding:5px;'>
<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>
<td>".showbanners()."</td>
</tr>
</table>
</td>
</tr>
</table>
<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>
<td class='white-header'>".showsublinks(" <span class='bullet'>·</span> ", "white")."</td>
<td class='white-header' align='right'>".showsubdate()."</td>
</tr>
</table>";
//content
echo "<table width='1000 px' cellspacing='0' cellpadding='0'>
<tr>\n";
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>"; }
//footer
echo "
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='1000 px'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='1000 px'>
<tr>
<td align='center' class='full-header'><br />";
echo "Sunset theme originally by <a href='http://www.php-fusion.co.uk' target='_blank'>Digitanium</a>.
Converted to PHP-Fusion v7 by <a href='http://www.php-fusion.nu/' target='_blank'>Kenneth</a>.<br /><br />";
if ($license == false) { echo showcopyright(); }
echo "<br /><br />".showcounter()."<br /><br />
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border tablebreak'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>".
newsposter($info, THEME_BULLET).newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>".
articleposter($info, THEME_BULLET).articleopts($info, THEME_BULLET).itemoptions("A",$info['article_id'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border tablebreak'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$title</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function openside($title, $collapse = false, $state = "on") {
global $panel_collapse; $panel_collapse = $collapse;
$boxname = str_replace(" ", "", $title);
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapmain'>$title</td>
".($collapse ? "<td class='scapmain' align='right'>".panelbutton($state, $boxname)."</td>" : "")."
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>";
if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside() {
global $panel_collapse;
echo "
</td>
</tr>
</table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
Edytowane przez Pieka dnia 02.04.2009 15:31:52
|
| |
|
|
| jantom |
Dodany dnia 02.04.2009 15:52:50
|

Weteran

Postów: 3460 Pomógł: 123
Data rejestracji: 31.03.2005 20:10
|
Przesta?cie d?uba? si? w theme.php - to nie jest pf v6, gdzie szeroko?? strony w 90% przypadków by?a tam ustawiana. W przypadku tej skórki wystarczy zajrze? do pliku styli i w pierwszej linii tego? zmieni?
#main { width: 90%; }
na np:#main { width: 1000px; }
Prawda, ?e ?atwiej?
Edytowane przez jantom dnia 02.04.2009 15:53:17
|
| |
|
|
| Yohnny |
Dodany dnia 02.04.2009 16:12:39
|

Przedszkolak

Postów: 3
Data rejestracji: 02.04.2009 14:54
|
Dzi?ki wielkie Kolego !
Sam nigdy bym na to nie wpad?. Kudosy dla Ciebie  |
| |
|