WinFuture-Forum.de: Problem Mit Der Menüleiste - WinFuture-Forum.de

Zum Inhalt wechseln

Nachrichten zum Thema: Entwicklung
Seite 1 von 1

Problem Mit Der Menüleiste


#1 Mitglied ist offline   @Bodo 

  • Gruppe: aktive Mitglieder
  • Beiträge: 24
  • Beigetreten: 27. Oktober 04
  • Reputation: 0

geschrieben 27. Juni 2005 - 12:31

Hallo,

Ich hab nen problem mit der Menüleiste, bekomme sie einfach nicht in der mitte ausgerichtet. Danke schon mal im voraus

Link

Mfg
Bodo
0

Anzeige



#2 _Benjamin_

  • Gruppe: Gäste

geschrieben 27. Juni 2005 - 12:51

1. tu deinen usern nen gefallen und lösch
<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 :) versuchs mal alleine

Dieser Beitrag wurde von Benjamin bearbeitet: 27. Juni 2005 - 13:15

0

#3 Mitglied ist offline   Floele 

  • Gruppe: aktive Mitglieder
  • Beiträge: 919
  • Beigetreten: 22. Juni 04
  • Reputation: 0

geschrieben 27. Juni 2005 - 13:05

Zitat

der befehl den du suchst


In HTML gibt es keine Befehle :-P
0

#4 _Benjamin_

  • Gruppe: Gäste

geschrieben 27. Juni 2005 - 13:14

Zitat (Floele: 27.06.2005, 14:05)

In HTML gibt es keine Befehle :-P
<{POST_SNAPBACK}>

:) da is wieder einer sehr pingelig :) meinte natürlich "TAG" ;)
0

#5 Mitglied ist offline   @Bodo 

  • Gruppe: aktive Mitglieder
  • Beiträge: 24
  • Beigetreten: 27. Oktober 04
  • Reputation: 0

geschrieben 27. Juni 2005 - 13:28

Zitat (Benjamin: 27.06.2005, 13:51)

1. tu deinen usern nen gefallen und lösch
<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 :) versuchs mal alleine
<{POST_SNAPBACK}>

ich bekomme es nicht hin ... :) sag mir BITTE wo ...sonst bekomm ich ne krise ...bin doch noch anfänger
0

#6 _Benjamin_

  • Gruppe: Gäste

geschrieben 27. Juni 2005 - 14:08

<html>
<head>
<title>Bodo's Webseite! &gt;Inhalte&lt;</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">&nbsp; </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">&nbsp;</p>
   	 </td>

                </tr>
                <tr> 
                  <td align="right" bgcolor="#336699" class="posttime">
   	 <font color="#800000">&nbsp;<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
0

#7 Mitglied ist offline   @Bodo 

  • Gruppe: aktive Mitglieder
  • Beiträge: 24
  • Beigetreten: 27. Oktober 04
  • Reputation: 0

geschrieben 27. Juni 2005 - 14:22

Sorry ...Ich meine den Menüleiste wo "Test" drin steht ...die soll in der mitte vom Rahmen. Und was fürn *.css hab keine Ahnung davon ?

Eingefügtes Bild

Mfg
Bodo
0

#8 _Benjamin_

  • Gruppe: Gäste

geschrieben 27. Juni 2005 - 14:24

<html>
<head>
<title>Bodo's Webseite! &gt;Inhalte&lt;</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">&nbsp; </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">&nbsp;</p>
   	 </td>

                </tr>
                <tr> 
                  <td align="right" bgcolor="#336699" class="posttime">
   	 <font color="#800000">&nbsp;<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 .... ^_°
0

#9 Mitglied ist offline   @Bodo 

  • Gruppe: aktive Mitglieder
  • Beiträge: 24
  • Beigetreten: 27. Oktober 04
  • Reputation: 0

geschrieben 27. Juni 2005 - 14:31

Ich danke Dir :) Wie hast du das gemacht? und ich hab es schon ne ganze Stunde versucht, und habe es nicht hinbekommen. Das beste ist Du kommst her *g* dan komme ich schneller voran :)

Gruss
Bodo
0

#10 _Benjamin_

  • Gruppe: Gäste

geschrieben 27. Juni 2005 - 14:42

Zitat

                <tr>
                <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 :) und am ende der zwischentabelle muss natürlich noch das

Zitat

</div>
rein :)

Dieser Beitrag wurde von Benjamin bearbeitet: 27. Juni 2005 - 14:44

0

#11 Mitglied ist offline   Floele 

  • Gruppe: aktive Mitglieder
  • Beiträge: 919
  • Beigetreten: 22. Juni 04
  • Reputation: 0

geschrieben 27. Juni 2005 - 18:36

Zitat (Benjamin: 27.06.2005, 14:14)

;) da is wieder einer sehr pingelig ;) meinte natürlich "TAG" ;)
<{POST_SNAPBACK}>


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
    --------------------------------------------------

0

Thema verteilen:


Seite 1 von 1

1 Besucher lesen dieses Thema
Mitglieder: 0, Gäste: 1, unsichtbare Mitglieder: 0