Hi Sven,
hi orlando.
Kein Problem, sollten wir hier die Lösung finden, wäre ein Hinweis in der Mailingliste, dass das Problem gelöst ist auch noch ganz nett ;)
Versteht sich von selbst...
NS7 = Mozilla, der M$IE auf Windows kann es nicht, Opera 6 dagegen schon. Es muss also ein Fehler im Stylesheet oder der Einbindung sein.
hmm...ok, aber der Fehler ist mir nicht so wichtig..
Also habe ich mir gedacht erzeuge ich das ganze mit einer Tabelle. Aber die Tabelle ignoriert die Breite meines Content DIVs. Ich will also in einem DIV Tabellen anzeigen.
Irgendwas stimmt an deinem Code nicht, denn wenn ich ein DIV mit 50% Breite definiere und darin eine Tabelle mit 100%, beziehen sich diese 100% auf das DIV, nicht auf das Fenster. Selbst Netscape 4 schafft das.
Aber genau das habe ich getan...ich hänge mal den Quelltext komplett an, und außerdem die CSS Dateien die NS sieht.
Es wäre natürlich hervorragend, wenn man sich das mal online ansehen könnte.
Ja, aber habe keinen Webspace mit php/MySql zur verfügung..
LG Roland
sven
<title>audiokonzept</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="css/css_nn.css" rel="stylesheet" type="text/css"> <link href="css/divs_nn.css" rel="stylesheet" type="text/css"> <link href="css/css_o_nn.css" rel="stylesheet" type="text/css" media="all"> <link href="css/divs_o_nn.css" rel="stylesheet" type="text/css" media="all"> <script language="JavaScript" type="text/JavaScript"> <!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true);
function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} } //--> </script>
</head>
<body> <div id="left">
<div id="news">
<p class="ueber_left">News:</p> <? include('DB_verbindung.inc'); $main = mysql_query("select * from audio_aktuell order by id desc");
while($main_row = mysql_fetch_array($main)) {
echo"<p class='abstand'><a href='news.php?new=$main_row[id]' class='down'>$main_row[ueberschrift]</a></p>";
} ?>
</div>
</div> <div id="logo"><img src="pics/Logo_neu.jpg" width="312" height="113"></div> <div id="menue"><a href="home.htm" class="navi" > home </a> <a href="news.php" class="navi" > news </a> <a href="equipment.php" class="navi" > equipment </a> <a href="referenzen.php" class="navi" > referenzen </a> <a href="galerie.php" class="navi" > team </a> <a href="kontakt.php" class="navi" > kontakt </a> <a href="links.php" class="navi" > links </a></div>
<div id="content"> <? if($new=='') { $main = mysql_query("select * from audio_aktuell order by id desc");
while($main_row = mysql_fetch_array($main)) { echo"<table width='100%' border='0' class='tabelle'>"; echo"<tr><td><p class='ueberschrift'>$main_row[ueberschrift]</p></td>"; if($main_row[bild]) { echo"<td rowspan='2'><p align='right'><img src='upload_news/$main_row[bild]' width ='100' ></p></td></tr>"; } else { echo"</tr>"; } if($main_row[untertext1]) { echo"<tr><td><p class='content1'>$main_row[untertext1]</p></td></tr>"; } if ($main_row[untertext2]) { echo"<tr><td colspan='2'><p class='content2'>$main_row[untertext2]</p></td></tr>"; } if ($main_row[hyperlink]) { echo"<tr><td><p class='content2' style='margin-left:10px;'>Link: <a href='$main_row[hyperlink]' class='content2'>$main_row[hyperlink]</a></p></td></tr>"; }
echo"<br></table>";
} } else { $main = mysql_query("select * from audio_aktuell where id=$new");
while($main_row = mysql_fetch_array($main)) {
echo"<p class='ueberschrift'>$main_row[ueberschrift]</p>"; if($main_row[bild]) { echo"<p><img src='upload_news/$main_row[bild]' width =190></p>"; } if($main_row[untertext1]) { echo"<p class='content'>$main_row[untertext1]</p>"; } if ($main_row[untertext2]) { echo"<p class='content'>$main_row[untertext2]</p>"; } if ($main_row[hyperlink]) { echo"<p><a href='$main_row[hyperlink]' class='content'>$main_row[hyperlink]</a></p>"; }
} } ?>
</div> </body> </html>
DIV Definitionen: #menue { position:absolute; left:160px; top:116px; margin:auto; padding:auto; line-height:15px; }
#news { position:absolute; left:0px; top:20px; width:103px; height:346px; z-index:13 }
#newsletter { position:absolute; left:2px; top:374px; width:103px; height:119px; z-index:15 }
#left { position:absolute; left:0; top:0; width:153px; height:100%; z-index:1; background-image: url(../pics/left.gif); layer-background-image: url(pics/left.gif); background-color: #FFFFFF; background-repeat:no-repeat; layer-background-color: #FFFFFF;
}
#logo { position:absolute; left:160px; top:0px; width:248px; height:76px; }
#content { position:absolute; left:160px; top:150px; width:57%; }
Restlichen CSS Definitionen: body{ font-family: Verdana, Arial, Helvetica, sans-serif; margin:0; padding:0; } a.navi{
font-size:13px; color:#3064b3; font-weight:bold; text-decoration:none; margin:auto; padding:auto; }
.ueber_left {
font-size:11px; color:#fff; font-weight:bold; text-decoration:underline; margin-left:10px; }
.down { font-size:12px; color:#ccc; }
.abstand{ margin:6px; }
.content1 { color:#333; font-size:12px; }
.content2 { color:#3064b3; font-size:12px; text-align:justify; } .ueberschrift { color:#333; font-size:14px; font-weight:bold; } .bild_news { width:100px; float:right; }