WebWork Magazin - Webseiten erstellen lassen, Online Medien, html

Webhoster, Webhosting Provider und Domain registrieren

Home | Registrieren | Einloggen | Suchen | Aktuelles | GSL-Webservice | Suleitec Webhosting
Reparatur-Forum | Elektro forum | Ersatzteilshop Haushalt und Elektronik


Homepage und Webhosting-Forum

Scripte und Programme für PHP, MYSQL. Diskussionen zur Programmierung im Web. Fragen zu CMS, Blogsoftware, Shops, Newsletter und vielen weiteren Scripten.


Forum » PHP & MySQL » hm... meine tabellen zerreissts :) » Antworten
Benutzername:
Passwort: Passwort vergessen?
Inhalt der Nachricht: Fett | Kursiv | Unterstrichen | Link | Bild | Smiley | Zitat | Zentriert | Quellcode| Kleiner Text
Optionen: Emailbenachrichtigung bei Antworten
 

hm... meine tabellen zerreissts :)
von languitar
äh, da blick ich so auch ncith durch auf anhieb.
von overkill
hm... da is nochmal der code
1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 
31: 
32: 
33: 
34: 
35: 
36: 
37: 
38: 
39: 
40: 
41: 
42: 
43: 
44: 
45: 
46: 
47: 
48: 
49: 
50: 
51: 
52: 
53: 
54: 
55: 
56: 
57: 
58: 
59: 
60: 
61: 
62: 
63: 
64: 
65: 
66: 
67: 
68: 
69: 
70: 
71: 
72: 
73: 
74: 
75: 
76: 
77:
<?php
	include("header.php");
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="123" height="191" background="img/menu_1.jpg">&nbsp;</td>
    <td rowspan="10" bgcolor="#000000">
    <table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100">&nbsp;</td>
        <td><?php include("upcoming.php"); ?></td>
        <td width="100">&nbsp;</td>
      </tr>
      <tr>
        <td width="100">&nbsp;</td>
        <td height="20">&nbsp;</td>
        <td width="100" height="20">&nbsp;</td>
      </tr>
      <tr>
        <td width="100">&nbsp;</td>
        <td>
		<?php
		if(!isset($site)){ $site = "news"; }
		if(file_exists($site.".php")) 
		{
			include($site.".php");
		}
		else
		{
			include("error.php");
		}
		?>
		</td>
        <td width="100" height="100%">&nbsp;</td>
      </tr>
      <tr>
        <td width="100">&nbsp;</td>
        <td>&nbsp;</td>
        <td width="100">&nbsp;</td>
      </tr>
    </table>	</td>
  </tr>
  <tr>
  <table border="0" cellspacing="0" cellpadding="0" valign="top">
  <tr>
    <td width="123" height="29"><a href="index.php?site=news"><img src="img/news.jpg" width="123" height="29" border="0"></a></td>
  </tr>
  <tr>
    <td width="123" height="30"><a href="index.php?site=band"><img src="img/band.jpg" width="123" height="30" border="0"></a></td>
  </tr>
  <tr>
    <td width="123" height="33"><a href="index.php?site=gigs"><img src="img/gigs.jpg" width="123" height="33" border="0"></a></td>
  </tr>
  <tr>
    <td height="27"><a href="index.php?site=pics"><img src="img/pics.jpg" width="123" height="27" border="0"></a></td>
  </tr>
  <tr>
    <td height="24"><a href="index.php?site=sounds"><img src="img/sounds.jpg" width="123" height="24" border="0"></a></td>
  </tr>
  <tr>
    <td height="32"><a href="index.php?site=links"><img src="img/links.jpg" width="123" height="32" border="0"></a></td>
  </tr>
  <tr>
    <td height="31"><a href="index.php?site=press"><img src="img/press.jpg" width="123" height="31" border="0"></a></td>
  </tr>
  <tr>
    <td height="31"><a href="index.php?site=contact"><img src="img/contact.jpg" width="123" height="31" border="0"></a></td>
  </tr>
  <tr>
    <td width="31" background="img/menu_2.jpg">&nbsp;</td>
	</tr>
</table>
  </tr>
</table>
<?php
	include("footer.php");
?>

irgendwas passt mit den tabellen ned... aaaah
von languitar
aber ich glaube, du hast das in die falsche Zelle gehaun.
von languitar
Ich würd sagen bei der Zelle, wo die Tabelle drin ist valign="top" einfügen.
von overkill
ok, das menü is aber jetzt ganz unten , wie krieg ich das jetzt nach oben? link
danke für die schnelle antwort
von languitar
Joa, kein Wunder, da die Tabellenzelle ja genau so hoch sein muss wie der Inhalt rechts. Setzt links, da wo jetzt das Menü ist, noch mal eine neue Tabelle in die Zelle und pack darein das Menü. Die Tabelle muss sich ja nicht der Höhe anpassen. Dann müsste es gehen.
von overkill
also wenn die include datei größer ist als das menü links zerreissts mein design
hier mal der code dazu:

1: 
2: 
3: 
4: 
5: 
6: 
7: 
8: 
9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
25: 
26: 
27: 
28: 
29: 
30: 
31: 
32: 
33: 
34: 
35: 
36: 
37: 
38: 
39: 
40: 
41: 
42: 
43: 
44: 
45: 
46: 
47: 
48: 
49: 
50: 
51: 
52: 
53: 
54: 
55: 
56: 
57: 
58: 
59: 
60: 
61: 
62: 
63: 
64: 
65: 
66: 
67: 
68: 
69: 
70: 
71: 
72: 
73:
<?php
	include("header.php");
?>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="123" height="191" background="img/menu_1.jpg"> </td>
    <td rowspan="10" bgcolor="#000000">
    <table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100"> </td>
        <td><?php include("upcoming.php"); ?></td>
        <td width="100"> </td>
      </tr>
      <tr>
        <td width="100"> </td>
        <td height="20"> </td>
        <td width="100" height="20"> </td>
      </tr>
      <tr>
        <td width="100"> </td>
        <td>
		<?php
		if(!isset($site)){ $site = "news"; }
		if(file_exists($site.".php")) 
		{
			include($site.".php");
		}
		else
		{
			include("error.php");
		}
		?>
		</td>
        <td width="100" height="100%"> </td>
      </tr>
      <tr>
        <td width="100"> </td>
        <td> </td>
        <td width="100"> </td>
      </tr>
    </table>	</td>
  </tr>
  <tr>
    <td width="123" height="29"><a href="index.php?site=news"><img src="img/news.jpg" width="123" height="29" border="0"></a></td>
  </tr>
  <tr>
    <td width="123" height="30"><a href="index.php?site=band"><img src="img/band.jpg" width="123" height="30" border="0"></a></td>
  </tr>
  <tr>
    <td width="123" height="33"><a href="index.php?site=gigs"><img src="img/gigs.jpg" width="123" height="33" border="0"></a></td>
  </tr>
  <tr>
    <td height="27"><a href="index.php?site=pics"><img src="img/pics.jpg" width="123" height="27" border="0"></a></td>
  </tr>
  <tr>
    <td height="24"><a href="index.php?site=sounds"><img src="img/sounds.jpg" width="123" height="24" border="0"></a></td>
  </tr>
  <tr>
    <td height="32"><a href="index.php?site=links"><img src="img/links.jpg" width="123" height="32" border="0"></a></td>
  </tr>
  <tr>
    <td height="31"><a href="index.php?site=press"><img src="img/press.jpg" width="123" height="31" border="0"></a></td>
  </tr>
  <tr>
    <td height="31"><a href="index.php?site=contact"><img src="img/contact.jpg" width="123" height="31" border="0"></a></td>
  </tr>
  <tr>
    <td width="31" background="img/menu_2.jpg"> </td>
  </tr>
</table>
<?php
	include("footer.php");
?>


und als bsp fürs zerrissene: link

bitte um hilfe! :D
danke schon mal im voraus ^^

Nach oben