Autor Zpráva
dawe27
Profil
cau, mám problem s umístěním panelu a nemužu přijit na to v čem je chyba
chci aby se mi zobrazil vedle obsahu ale zobrazi se pod ním, nejspiš bude někde chybět nějaka tabulka nebo něco ale nemužu na to přijit prošel jsem to snad už 20x. web http://testweb.hys.cz/2/
index.php
<?php
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title>hokejbalovy klub Pravotice</title>
<meta name='description' content='web hbk pravotice' />
<meta name='keywords' content='hokejbal,pravotice,amaterska hokejblova liga,hbk pravotice,hokejbal pravotice' />
<meta name='robots' content='index, follow' />
<meta name="author" content="david bulawa" />
<link rel='shortcut icon' href='images/favicon.ico' />
<link rel='icon' href='images/favicon.ico' />
<link rel='stylesheet' href='styles.css' type='text/css' />
<link rel="stylesheet" href="menu_style.css" type="text/css" media="screen" />
</head>

<body class="body">


<? ob_start();  ?>
<table border='0' cellpadding='0' cellspacing='0' width='624' class='hornipanely'>
<tr>
<td class='hornipanel' align='left' width='225'>
Posledné výsledky:
</td>
<td class='hornipanel' align='left' width='170'>
Najbližšie udalosti:
</td>
<td class='hornipanel' align='left' width='229'>
First 5 PPHL:
</td>
</tr>
<tr>
<td class='hornipanel1' align='left' width='225'>
<strong>Pravotice</strong> - Exit, <font color="red">7:13</font><br/>
<strong>Pravotice</strong> - THC Dežerice, <font color="red">3:7</font><br/>
<strong>Pravotice</strong> - HC Rybany, <font color="green">8:2</font><br/>
<strong>Pravotice</strong> - Skačanci, <font color="red">4:7 </font>
</td>
<td class='hornipanel2' align='left' width='170'>
<strong>7.4.2012 7:00</strong><br/>
Fuši cup 2012<br/>
Gábor aréna Ozorovce
</td>
<td class='hornipanel3' align='left' width='229'>
1. Michal Šinský <strong>115 B</strong><br/>
2. Rastislav Oravec <strong>93 B</strong><br/>
3. Andrej Bitarovský <strong>86 B</strong><br/>
4. Štefan Šorec <strong>75 B</strong><br/>
5. Adam Pista <strong>38 B</strong>
</td>
</tr>
</table>

<table border='0' cellpadding='0' cellspacing='0' width='624' class='obsahwebu'>
<tr>
<td width='624'  class='claneknadpis'>
<div align='center'>Nadpis clanku</div>
</td>
</tr>
<tr>
<td width='624'  class='clanekobsah'>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the <br/>
industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and <br/>
scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into <br/>
electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of<br/>
 Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like<br/>
 Aldus PageMaker including versions of Lorem Ipsum.<br/><br/>

It is a long established fact that a reader will be distracted by the readable content of a page when <br/>
looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters,<br/>
 as opposed to using 'Content here, content here', making it look like readable English. Many desktop<br/>
 publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search<br/>
 for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the <br/>
years, sometimes by accident, sometimes on purpose (injected humour and the like).
</td>
</tr>
<?
$obsah= ob_get_clean(); 
require_once "theme.php";
?>
</body>
</html> 
<?
?>
theme.php
<?php
//HEADER
echo "    <table cellspacing='0' cellpadding='0' align='center' ><tr><td class='header'></td></tr></table>";

//MENU
?>
      
<table border='0' cellpadding='0' width='936'  cellspacing='0' class='obsah'>
<tr><td>
<ul id="menu">
<li><a href="#" title="">Home</a></li>
<li><a href="#" title="" class="current">Products</a></li>
<li><a href="#" title="">Contact</a></li>
<li><a href="#" title="">Label 4</a></li>
<li><a href="#" title="">Label 5</a></li>
</ul>
</td></tr>
</table>
      
       
<? 
       
//obsah
?>
      
      <table width='936' align='center' border='0'  cellpadding='0' cellspacing='0' >  
      <tr> 
      <td class='obsahstranky'  align='left'  width='624'><?print $obsah;?></td>   
      <td class='panels'        align='right'  width='312'>
              <table  border='0' cellpadding='0' cellspacing='0'>
      <tr>
      <td class='scapmain'>Nazev panelu1</td>
      </tr>
      <tr>
      <td class='panel'>obsah panelu</td>
      </tr>      
      </table>
      </td>
      </tr>
      </table> 
      
       
<? 



?>



už jsem na to přišel chybělo </table> omlouvám se za zbytečné téma.
vivanatura
Profil *
Jenom pro příště: Tabulku používat pouze pro zobrazení "opravdové tabulky", nikoliv dělat tabulkou celý layout stránky. Čili tabulka hornipanely pro zobrazení výsledků proč ne, ale zbylé tabulky tam nemajíj co dělat.
To jen rada do budoucna ;)

Vaše odpověď

Mohlo by se hodit


Prosím používejte diakritiku a interpunkci.

Ochrana proti spamu. Napište prosím číslo dvě-sta čtyřicet-sedm: