Und zwar habe ich mir eine Navigationsleiste erstellt und habe die schon per HTML eingefügt nur jetzt ist dieNavigationsleiste links unter die Tabelle gerutscht. Die Tabelle und die Navigation soll auf gleicher höhe bleiben! Könntet ihr mir da mal helfen gibt es da vielleicht ein Code oder sowas damit die auf gleicher höhe bleiben!
mfg Gero
Warum kostenlos registrieren?
Nur als registriertes Mitglied hast Du vollen Zugriff auf alle Funktionen unserer Website. So kannst Du eigene Fragen stellen und hast die volle Übersicht über neue interessante Themen im Forum.
Jetzt kostenlos registrieren.
Login
Tabelle und Navigation Problem
9 Beiträge • Seite 1 von 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Gtm-Online Startseite </title>
<base target="_blank">
<script src="fade.js"></script>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #cc9966;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #FF0000;
}
ul#Navigation {
margin: 0; padding: 0;
}
ul#Navigation li {
list-style: none;
margin: 0; padding: 0;
}
ul#Navigation {
width: 10em;
margin: 0; padding: 0.8em;
border: 1px solid black;
background-color: #cc9966;
}
* html ul#Navigation { /* Korrekturen fuer IE 5.x */
width: 11.6em;
w\idth: 10em;
padding-left: 0;
padd\ing-left: 0.8em;
}
ul#Navigation li {
list-style: none;
margin: 0.4em; padding: 0.2em;
border: 1px solid black;
background-color: #EFDFD6;
}
ul#Navigation a {
text-decoration: none; font-weight: bold;
color: black; background-color: #EFDFD6;
}
ul#Navigation a:hover {
color: maroon; background-color: #EFDFD6;
}
-->
</style>
</style>
</head>
<p style="background-color:#EFDFD6; color:black; font-family:BankGothic Md BT; font-size:20pt; letter-spacing:5px; padding:10px; text-align:center">Wilkommen bei Gtm-Online</p>
<hr noshade style="color:#000000; height:1px; border:1px dashed #000000;">
<table border style="border: 1px dashed #000000" table bgcolor="#EFDFD6" table width=710 table height=100 <div align="center">
<tr>
<td>
<br><h2>Was gibt es auf meiner Homepage?</h2>
</table>
<ul id="Navigation">
<li><a href="nav_definieren.htm">Home</a></li>
<li><a href="nav_formatieren.htm">News</a></li>
<li><a href="nav_rollover.htm">Links</a></li>
<li><a href="nav_rollover.htm">Tipps&Tricks</a></li>
<li><a href="nav_definieren.htm">Downloads</a></li>
<li><a href="nav_formatieren.htm">Gästebuch</a></li>
<li><a href="nav_rollover.htm">Forum</a></li>
<li><a href="nav_rollover.htm">Kontakt</a></li>
<li><a href="nav_rollover.htm">Impressum</a></li>
</ul>
<hr noshade style="color:#000000; height:1px; border:1px dashed #000000;">
<b>©</b> <b><a href="http://www.gtm-online.de.vu">www.gtm-online.de.vu</a></b>
<hr noshade style="color:#000000; height:1px; border:1px dashed #000000;">
</body>
</html>
<html>
<head>
<title>Gtm-Online Startseite </title>
<base target="_blank">
<script src="fade.js"></script>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #cc9966;
}
a:link {
color: #000000;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #000000;
}
a:hover {
text-decoration: none;
color: #FF0000;
}
ul#Navigation {
margin: 0; padding: 0;
}
ul#Navigation li {
list-style: none;
margin: 0; padding: 0;
}
ul#Navigation {
width: 10em;
margin: 0; padding: 0.8em;
border: 1px solid black;
background-color: #cc9966;
}
* html ul#Navigation { /* Korrekturen fuer IE 5.x */
width: 11.6em;
w\idth: 10em;
padding-left: 0;
padd\ing-left: 0.8em;
}
ul#Navigation li {
list-style: none;
margin: 0.4em; padding: 0.2em;
border: 1px solid black;
background-color: #EFDFD6;
}
ul#Navigation a {
text-decoration: none; font-weight: bold;
color: black; background-color: #EFDFD6;
}
ul#Navigation a:hover {
color: maroon; background-color: #EFDFD6;
}
-->
</style>
</style>
</head>
<p style="background-color:#EFDFD6; color:black; font-family:BankGothic Md BT; font-size:20pt; letter-spacing:5px; padding:10px; text-align:center">Wilkommen bei Gtm-Online</p>
<hr noshade style="color:#000000; height:1px; border:1px dashed #000000;">
<table border style="border: 1px dashed #000000" table bgcolor="#EFDFD6" table width=710 table height=100 <div align="center">
<tr>
<td>
<br><h2>Was gibt es auf meiner Homepage?</h2>
</table>
<ul id="Navigation">
<li><a href="nav_definieren.htm">Home</a></li>
<li><a href="nav_formatieren.htm">News</a></li>
<li><a href="nav_rollover.htm">Links</a></li>
<li><a href="nav_rollover.htm">Tipps&Tricks</a></li>
<li><a href="nav_definieren.htm">Downloads</a></li>
<li><a href="nav_formatieren.htm">Gästebuch</a></li>
<li><a href="nav_rollover.htm">Forum</a></li>
<li><a href="nav_rollover.htm">Kontakt</a></li>
<li><a href="nav_rollover.htm">Impressum</a></li>
</ul>
<hr noshade style="color:#000000; height:1px; border:1px dashed #000000;">
<b>©</b> <b><a href="http://www.gtm-online.de.vu">www.gtm-online.de.vu</a></b>
<hr noshade style="color:#000000; height:1px; border:1px dashed #000000;">
</body>
</html>
- gtmstyle
- Beiträge: 33
- Registriert: 11.03.2006, 16:42
- Wohnort: Essen (Ruhrgebiet)
Was genau bewirkt das Codestück?
- Code: Alles auswählen
<table border style="border: 1px dashed #000000" table bgcolor="#EFDFD6" table width=710 table height=100 <div align="center">
<tr>
<td>
<br><h2>Was gibt es auf meiner Homepage?</h2>
</table>
- sp!n
- Beiträge: 386
- Registriert: 31.05.2005, 09:05
- Wohnort: Wien
Schlimmer ist diese Zeile:
Das muss so aussehen:
sonst isses ja nicht mal annähren richtig geschrieben und kann auch nicht funktionieren.
<tr> und <td> muss man bei html 4.01 nicht unbedingt beenden.
- Code: Alles auswählen
<table border style="border: 1px dashed #000000" table bgcolor="#EFDFD6" table width=710 table height=100 <div align="center">
Das muss so aussehen:
- Code: Alles auswählen
<table border style="border: 1px dashed #000000" table bgcolor="#EFDFD6" table width=710 table height=100>
sonst isses ja nicht mal annähren richtig geschrieben und kann auch nicht funktionieren.
<tr> und <td> muss man bei html 4.01 nicht unbedingt beenden.
- threadi
- Beiträge: 107
- Registriert: 16.04.2006, 21:44
- Wohnort: Leipzig
Oh, das wusste ich nicht, ich arbeite nur mit xhtml strict.
Abgesehen davon, hören die Anführungszeichen von dem <table> nicht mal auf, und weiters weiß ich nicht wie sich Anführungszeichen zwischen Anführungszeichen vertragen, ich würde immer " und ' abwechseln.
Bevor ich hier beim Code weiterlese, richte ihn mal bitte, dass er syntaktisch wenigstens mal in Ordnung ist...
Abgesehen davon, hören die Anführungszeichen von dem <table> nicht mal auf, und weiters weiß ich nicht wie sich Anführungszeichen zwischen Anführungszeichen vertragen, ich würde immer " und ' abwechseln.
Bevor ich hier beim Code weiterlese, richte ihn mal bitte, dass er syntaktisch wenigstens mal in Ordnung ist...
- sp!n
- Beiträge: 386
- Registriert: 31.05.2005, 09:05
- Wohnort: Wien
sp!n hat geschrieben:Bevor ich hier beim Code weiterlese, richte ihn mal bitte, dass er syntaktisch wenigstens mal in Ordnung ist...
Kleine Hilfe dafür: http://validator.w3.org/
- threadi
- Beiträge: 107
- Registriert: 16.04.2006, 21:44
- Wohnort: Leipzig
9 Beiträge • Seite 1 von 1
Ähnliche Themen
| Scanner-Problem unter XP Forum: Hardware-Hilfe Autor: Nordi Antworten: |
Internet problem Forum: Software-Hilfe Autor: noodlez Antworten: |
kurioses win98 problem mit sämtlichen laufwerken Forum: Software-Hilfe Autor: Anonymous Antworten: |
Problem mit Battlefield 1942 Mod Forum: Software-Hilfe Autor: noodlez Antworten: |
Problem Forum: Software-Hilfe Autor: Anonymous Antworten: |
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste