Problem Mit Der Menüleiste
#1
geschrieben 27. Juni 2005 - 12:31
Ich hab nen problem mit der Menüleiste, bekomme sie einfach nicht in der mitte ausgerichtet. Danke schon mal im voraus
Link
Mfg
Bodo
Anzeige
#2 _Benjamin_
geschrieben 27. Juni 2005 - 12:51
<script LANGUAGE="JavaScript">
<!--
function rechtsklick(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert('www.bodo-ffo.info');
return false;
}
return true;
}
document.onmousedown = rechtsklick;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = rechtsklick;
// -->
</script>
hat bei mir zb. nich funktioniert und is nur blödsinn ...2. versuch mal deine css angaben vom deinen links zu einer *.css zu extrahieren. das ermöglicht ne bessere übersicht und du siehst das du manche tags doppelt verwendest.
3. werf hier mal nen blick hin.
4. der TAG den du suchst ist <div align="center"> .. </div> musst ihn an einer stelle eintragen, aber ich sag dir jetzt nicht wo
Dieser Beitrag wurde von Benjamin bearbeitet: 27. Juni 2005 - 13:15
#3
geschrieben 27. Juni 2005 - 13:05
Zitat
In HTML gibt es keine Befehle :-P
#4 _Benjamin_
geschrieben 27. Juni 2005 - 13:14
Zitat (Floele: 27.06.2005, 14:05)
<{POST_SNAPBACK}>
#5
geschrieben 27. Juni 2005 - 13:28
Zitat (Benjamin: 27.06.2005, 13:51)
<script LANGUAGE="JavaScript">
<!--
function rechtsklick(e) {
if (navigator.appName == 'Netscape' &&
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' &&
(event.button == 2 || event.button == 3)) {
alert('www.bodo-ffo.info');
return false;
}
return true;
}
document.onmousedown = rechtsklick;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = rechtsklick;
// -->
</script>
hat bei mir zb. nich funktioniert und is nur blödsinn ...2. versuch mal deine css angaben vom deinen links zu einer *.css zu extrahieren. das ermöglicht ne bessere übersicht und du siehst das du manche tags doppelt verwendest.
3. werf hier mal nen blick hin.
4. der TAG den du suchst ist <div align="center"> .. </div> musst ihn an einer stelle eintragen, aber ich sag dir jetzt nicht wo
<{POST_SNAPBACK}>
ich bekomme es nicht hin ...
#6 _Benjamin_
geschrieben 27. Juni 2005 - 14:08
<html>
<head>
<title>Bodo's Webseite! >Inhalte<</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.sitename {
font-family: Arial, Helvetica, sans-serif;
font-size: 30px;
font-weight: bold;
color: #FFFFFF;
}
.tagline {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFCC66;
}
.sidehead {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.posttime {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #999999;
}
.nav {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
}
A:link {
text-decoration: none
}
A:visited {
text-decoration: none
}
A:active {
text-decoration: none
}
A:hover {
text-decoration: none
}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<div align="center"> <table width="502" border="0" cellpadding="0">
<tr>
<td width="500" align="center" valign="top">
<table width="500" border="1" cellpadding="3" bordercolor="#000000" style="border-collapse: collapse">
<tr>
<td bgcolor="#336699"><span class="sidehead">
<font color="#000000">Inhaltsverzeichnis</font></span></td>
</tr>
<tr>
<td bgcolor="#999999">
<table border="1" bordercolor="#336699" style="border-collapse: collapse" cellpadding="2">
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"><span style="font-weight: 700"><font face="Arial" style="font-size: 9pt; text-decoration: none" color="#000000">Test</font><font face="Arial" style="font-size: 9pt"> </font></span></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<span class="sidehead">
<font color="#000000" style="font-size: 9pt" face="Arial">
<span style="text-decoration: none">
<img border="0" src="images/arrow.gif" width="7" height="7"></span></font></span></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"><font face="Arial" style="font-size: 9pt; font-weight: 700">Test</font></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"><font face="Arial" style="font-size: 9pt; font-weight: 700">Test</font></td>
</tr>
</table>
<p align="left"> </p>
</td>
</tr>
<tr>
<td align="right" bgcolor="#336699" class="posttime">
<font color="#800000"> <font size="1">by
Bodo</font> </font> </td>
</tr>
</table>
</td>
</tr>
</table></div>
</body>
</html>
denke mal so meinst du es ? aber über das mit dem *.css solltest du echt mal nachdenken
#7
geschrieben 27. Juni 2005 - 14:22
Mfg
Bodo
#8 _Benjamin_
geschrieben 27. Juni 2005 - 14:24
<html>
<head>
<title>Bodo's Webseite! >Inhalte<</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.sitename {
font-family: Arial, Helvetica, sans-serif;
font-size: 30px;
font-weight: bold;
color: #FFFFFF;
}
.tagline {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
color: #FFCC66;
}
.sidehead {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
.posttime {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
color: #999999;
}
.nav {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: bold;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<table width="502" border="0" cellpadding="0">
<tr>
<td width="500" align="center" valign="top">
<table width="500" border="1" cellpadding="3" bordercolor="#000000" style="border-collapse: collapse">
<tr>
<td bgcolor="#336699"><span class="sidehead">
<font color="#000000">Inhaltsverzeichnis</font></span></td>
</tr>
<tr>
<td bgcolor="#999999">
<div align="center"><table border="1" bordercolor="#336699" style="border-collapse: collapse" cellpadding="2">
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"><span style="font-weight: 700"><font face="Arial" style="font-size: 9pt; text-decoration: none" color="#000000">Test</font><font face="Arial" style="font-size: 9pt"> </font></span></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<span class="sidehead">
<font color="#000000" style="font-size: 9pt" face="Arial">
<span style="text-decoration: none">
<img border="0" src="images/arrow.gif" width="7" height="7"></span></font></span></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"><font face="Arial" style="font-size: 9pt; font-weight: 700">Test</font></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"></td>
</tr>
<tr>
<td class="small" onmouseover="this.style.backgroundColor='#336699';" onmouseout="this.style.backgroundColor='#999999'" align="center" bgcolor="#999999">
<img border="0" src="images/arrow.gif" width="7" height="7"><font face="Arial" style="font-size: 9pt; font-weight: 700">Test</font></td>
<style type="text/css">
A:link {text-decoration: none}
A:visited {text-decoration: none}
A:active {text-decoration: none}
A:hover {text-decoration: none}
</style>
</tr>
</table>
<p align="left"> </p>
</td>
</tr>
<tr>
<td align="right" bgcolor="#336699" class="posttime">
<font color="#800000"> <font size="1">by
Bodo</font> </font> </td>
</tr>
</table></div>
</td>
</tr>
</table>
</body>
</html>
dann so
Und mit CSS solltest du dich mal bei Selfhtml erkundigen .... ^_°
#9
geschrieben 27. Juni 2005 - 14:31
Gruss
Bodo
#10 _Benjamin_
geschrieben 27. Juni 2005 - 14:42
Zitat
<td bgcolor="#999999">
<div align="center"><table border="1" bordercolor="#336699" style="border-collapse: collapse" cellpadding="2">
da is der springende punkt ... musst dir jetzt selber raussuchen, kann dir nich sagen welche zeile das ist
Zitat
Dieser Beitrag wurde von Benjamin bearbeitet: 27. Juni 2005 - 14:44
#11
geschrieben 27. Juni 2005 - 18:36
Zitat (Benjamin: 27.06.2005, 14:14)
Nochmal ein kleiner Nachtrag
-------------------------------------------------- ISO/W3C terminology Common name -------------------------------------------------- attribute tag attribute value tag attribute value literal tag attribute value specification tag character reference tag comment tag comment declaration tag declaration tag document type declaration tag document type definition tag element tag element type tag element type name tag entity tag entity reference tag general entity tag generic identifier tag literal tag numeric character reference tag parameter entity tag parameter literal tag processing instruction tag tag command --------------------------------------------------

Hilfe
Neues Thema
Antworten
Nach oben

