Seite ohne Tabelle und Frames...
Mathias
- html
Wie mache ich so eine Seite
http://www.eebe.de/
ohne Frames, aber auch ohne Tabelle?
Hier mal der Code von der index.php
<html>
<head>
<title>EEBE.de - Die Homepage der Energieelektroniker FR Betriebstechnik</title>
<link href="css/ber.css" rel="stylesheet" type="text/css">
</head>
<body>
<center>
<table width="100%" border="1" cellpadding="1" cellspacing="1" background="img/bg3.gif">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" rowspan="2" valign="top">
<?php include "nav.php" ?>
</td>
<td align="center" valign="top">
<?php include "head.php" ?>
</td>
<td width="150" rowspan="2" valign="top">
<?php include "navr.php" ?><br><?php include "wer.php" ?>
</td>
</tr>
<tr>
<td style="vertical-align: top">
<?php
if (isset($_GET['site'])) $site = $_GET['site'].'.php';
else $site = 'main.php'; // Standartseite fuer den Fall, dass ?site=X nicht in der URL enthalten ist
if (file_exists($site)) include($site);
else echo '<b>Fehler:</b> <span style="font-family: Courier New;">'.$site.'</span> existiert nicht!';
?>
</td>
</tr>
<tr align="center">
<td colspan="3" valign="top" class="copy">
<?php include "foot.php" ?>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>
Hoffe, da hat einer ne Lösung. Wie man auf der Startseite sieht gibt es Probleme mit der formatierung. Der 5-cent-Banner müsste weiter oben sein! (top!)
Hi!
Befasse dich mal ausgiebig mit dem Self-Html Kapitel "CSS-Basierte Layouts". Da müssten deine Fragen beantwortet werden.
Hallo Mathias,
warum bleibst du nicht in deinem Thread https://forum.selfhtml.org/?t=118600&m=760476?
Mit freundlichen Grüßen,
André