Einfaches HTML-Problem (Frame)

Dieses Thema im Forum "Webentwicklung" wurde erstellt von crix, 1. Februar 2007 .

Schlagworte:
Status des Themas:
Es sind keine weiteren Antworten möglich.
  1. 1. Februar 2007
    Der Code der Seite lautet :


    Code:
    <html>
    <head>
    <link href="style.css" rel="stylesheet" type="text/css">
    <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
    <meta name="robots" content="index">
    <meta name="description" content="">
    <meta name="author" content="">
    <meta name="keywords" content="">
    <meta name="date" content="">
    
    <title>Titel</title>
    <style type="text/css">
    <!--
    .Stil1 {
     font-family: Arial, Helvetica, sans-serif;
     font-weight: bold;
     font-size: 12px;
     color: #FFFFFF;
    }
    .Stil4 {color: #FF6600}
    -->
    </style>
    </head>
    
    <body bgcolor="#FFCE84" topmargin="0" leftmargin="0" rightmargin="0">
    <table width="100%" height="100%" cellspacing="0" cellpadding="0">
    
     <tr class="noborder">
     <td colspan="2" height="80" bgcolor="#FFFFFF" width="157"><img src="design_pics/palme.jpg" alt="empty space"></td>
     <td bgcolor="#FFFFFF" width="7">&nbsp;</td>
     <td bgcolor="#FFFFFF" width="23">&nbsp;</td>
     <td bgcolor="#FFFFFF" class="Stil1 Stil4"><img src="banner.jpg" width="468" height="60"></td>
     </tr>
     <tr class="noborder">
     <td width="7" height="20" bgcolor="#ff9900">&nbsp;</td>
    
     <td width="150" bgcolor="#ff9900">&nbsp;</td>
     <td width="7" bgcolor="#ff9900">&nbsp;</td>
     <td width="23" bgcolor="#ff9900">&nbsp;</td>
     <td bgcolor="#ff9900">
     <table border="0" cellspacing="0" cellpadding="0">
     <tr>
    
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
     <td><a href="home.html" class="Stil1">Home</a></td>
    
     <td width ="20"></td>
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
     <td><a href="about.html" class="Stil1">&Uuml;ber Premius</a></td>
     <td width ="20"></td>
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
     <td><a href="friends.html" class="Stil1">Friends</a></td>
     <td width ="20"></td>
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
    
     <td><a href="bilder.html" class="Stil1">Bilder</a></td>
     <td width ="20"></td>
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
     <td><a href="gb.html" class="Stil1">G&auml;stebuch</a></td>
     <td width ="20"></td>
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
     <td><a href="forum.html" class="Stil1">Forum</a></td>
    
     <td width ="20"></td>
     <td><img src="design_pics/toplinkpunkt.gif" width="10" height="10"></td>
     <td><a href="muellecke.html" class="Stil1">M&uuml;llecke</a></td>
     <td width ="20"></td>
     </tr>
    </table> </td>
     </tr>
     <tr class="noborder">
    
     <td width="7" height="20" bgcolor="#FFCE84">&nbsp;</td>
     <td width="150" rowspan="2" bgcolor="#FFCE84" valign="top"><style>
    tr.s {font-family:helvetica;font-size:9pt;}
    td.d {font-family:helvetica;font-size:9pt;background-color:#FFCE84;}
    td.d0 {font-family:verdana;font-size:10px;border-style:solid;text-align:center;
     border-width:1px;border-color:#FFCE84;background-color:white;font-weight:normal;}
    td.d1 {font-family:verdana;font-size:10px;border-style:solid;text-align:center;
     border-width:1px;border-color:#FFFFFF;background-color:#FFCE84;font-weight:normal;}
    td.d2 {font-family:verdana;font-size:10px;border-style:solid;text-align:center;
     border-width:1px;border-color:#FFCE84;background-color:#FF9900;font-weight:normal;}
    
     </style></td>
     <td width="7" bgcolor="#FFCE84">&nbsp;</td>
     <td width="23" bgcolor="#FFCE84">&nbsp;</td>
     <td bgcolor="#FFCE84">
     </td>
     </tr>
     <tr class="noborder">
     <td width="7" height="24"bgcolor="#FFCE84">&nbsp;</td>
    
     <td width="7" bgcolor="#FFCE84">&nbsp;</td>
     <td width="23" valign="top" align="left"><img src="design_pics/upleft.gif" alt="empty space" width="23" height="24"></td>
     <td bgcolor="#FFFFFF">&nbsp;</td>
     </tr>
     <tr class="noborder">
     <td width="7" height="100%" bgcolor="#FFCE84">&nbsp;</td>
     <td width="150" valign="top"><table width="150" border="0" cellspacing="0" cellpadding="0">
     <tr>
     <td colspan="3" align="center"> 
     </tr>
    <tr height="24">
     <td width="23"><img src="design_pics/upleft.gif" width="23" height="24"></td>
     <td bgcolor="#ffffff">&nbsp;</td>
     <td width="23"><img src="design_pics/upright.gif" width="23" height="24"></td>
     </tr>
    
     <tr height="24">
     <td><img src="design_pics/dnleft.gif" width="23" height="24"></td>
     <td bgcolor="#ffffff"></td>
     <td><img src="design_pics/dnright.gif" width="23" height="24"></td>
     </tr>
     <tr>
    
     <td width="23">&nbsp;</td>
     <td width="104">&nbsp;</td>
     <td width="23">&nbsp;</td>
     </tr>
     <tr height="24">
     <td width="23"><img src="design_pics/upleft.gif" width="23" height="24"></td>
     <td bgcolor="#ffffff">&nbsp;</td>
     <td width="23"><img src="design_pics/upright.gif" width="23" height="24"></td>
     </tr>
    
     <tr height="24">
     <td><img src="design_pics/dnleft.gif" width="23" height="24"></td>
     <td bgcolor="#ffffff"></td>
     <td><img src="design_pics/dnright.gif" width="23" height="24"></td>
     </tr>
     <tr height="7">
     <td>&nbsp;</td>
     <td>&nbsp;</td>
     <td>&nbsp;</td>
    
     </tr>
    </table>
    </td>
     <td width="7" bgcolor="#FFCE84">&nbsp;</td>
     <td width="23" bgcolor="#FFFFFF"></td>
     <td valign="top" bgcolor="#FFFFFF" class="title">
    
     <!--</div>--></td>
     </tr>
     <tr class="noborder">
    
     <td width="7" height="24" bgcolor="#FFCE84">&nbsp;</td>
     <td width="150" bgcolor="#FFCE84">&nbsp;</td>
     <td width="7" bgcolor="#FFCE84">&nbsp;</td>
     <td width="23" valign="top" align="left"><img src="design_pics/dnleft.gif" alt="empty space" width="23" height="24"></td>
     <td valign="top" bgcolor="white">&nbsp;</td>
     </tr>
     <tr class="noborder" valign="bottom">
     <td width="7" height="10" bgcolor="#FFCE84">&nbsp;</td>
     <td width="150" bgcolor="#FFCE84"><div align="center">
     
     </div></td>
    
     <td width="7" bgcolor="#FFCE84">&nbsp;</td>
     <td width="23" bgcolor="#FFCE84">&nbsp;</td>
     <td valign="bottom" bgcolor="#FFCE84"><span class="bodytext Stil1">Copyright by <a href="mailto:name@email.de" class="Stil1">Max Mustermann</a></span></td>
     </tr>
    </table>
    </body>
    </html>
    

    In dem großen Frame möchte ich jetzt die Seite "home.html" drinn haben. Und wenn man auf die Links klickt sollte die Seite nur in dem Frame aufgehen.

    Habe leider nichts passendes gefunden
    Hoffe ihr könnt mir helfen.

    crix
     
  2. 1. Februar 2007
    AW: Einfaches HTML-Problem (Frame)

    einfach bei den links als zusatz:
    <a href="" target="_frame">
     
  3. 2. Februar 2007
    Ich möchte die Links aber nicht in dem selben Frame wie die Seite öffnen, sondern in dem Frame auf der Seite, doch weder weiß ich was ich für einen Code dem Frame geben soll, noch weiß ich was für einen Code ich bei dem Link angeben soll.

    crix

    Das soll der Frame sein :
    Code:
    <td valign="top" bgcolor="#FFFFFF" class="title">
    
     <!--</div>--></td>
     </tr>
    auf zeile 141

    kann mir keiner helfen? :-(
     
  4. 2. Februar 2007
    AW: Einfaches HTML-Problem (Frame)

    würde dir gern helfen aber ich versteh leider das problem nicht ganz.
    kannst du es im paint oder so mal zeigen???
     
  5. 2. Februar 2007
    AW: Einfaches HTML-Problem (Frame)

    Bitte veranschauliche uns doch mal wie du es haben willst
    ich blicke da auch nicht ganz durch.

    Gruß BenQ
     
  6. 2. Februar 2007
    AW: Einfaches HTML-Problem (Frame)

    Ich denke mal du willst ein frame in deine Page einbetten, indem dann der jeweilige content angezeigt wird. Das macht man zwar heutzutage zwar anders, aber wenn du es mit einem frame haben willst, dann so:

    PHP:
    < iframe name = "Content"  width = ""  height = ""  align = "left"  scrolling = "yes"  marginheight = "0"  marginwidth = "0"  frameborder = "0" // Die Werte hier solltest du anpassen!
    < p > Ihr Browser unterstützt keine eingebetteten Frames .</ p // Falls Iframes nicht unterstütz werden.
    </ iframe >
    Und wenn du jetzt eine Datei (z.B. news.html/...) im iframe aufrufen möchtest machst du das so:

    PHP:
    < a href = "news.html"  target = "Content" > Klick mich hart !</ a // news.html als Beispiel

    PS: Du solltest eigentlich in diesem Fall kein iframe nehmen, sondern eher die include funktion von PHP...
    PPS: Tabellen sind für Tabelleninhalte da. Für das Layout gibt es <div> und CSS.


    mfg,
    m00pd00p
     
  7. 2. Februar 2007
    AW: Einfaches HTML-Problem (Frame)

    Danke m00pd00p genau so meinte ich es =) Kann geclosed werden.

    Danke
    crix
     
  8. 2. Februar 2007
    AW: Einfaches HTML-Problem (Frame)

    kannst du auch selber machen
    aber ich übernehms mal
     
  9. Video Script

    Videos zum Themenbereich

    * gefundene Videos auf YouTube, anhand der Überschrift.