Problem beim Scrollbalken

Status
Nicht offen für weitere Antworten.

elme

Mitglied
Folgendes Problem ich hab eine seite mit einem iFrame Breite 700 Höhe 377 und jetzt hab ich im frame einen inhalt und irgendwie kann man den inhalt immer ein bischen vertikal srollen, obwohl da nix ist!

Hier ein beispiel BESIPIEL

hier der Queltext von der page

Code:
<html>
<head>
<title>Dj Cube & T-Rod - Tha Finezt In Black Music</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="javascript">
function click() {
if (event.button==2) {
alert('© 2004 by Dj Cube & T-Eod & Magical E Design')
}
}
document.onmousedown=click
</script>
<style type="text/css">
<!--
body,td,th {
	font-family: Arial;
	color: #000066;
}
body {
	background-color: #000033;
}
a:link {
	color: #0099FF;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #00CCFF;
}
a:hover {
	text-decoration: none;
	color: #0033FF;
}
a:active {
	text-decoration: none;
	color: #000099;
}
-->
<!--

BODY {
	scrollbar-face-color: #000066;
	scrollbar-shadow-color: #000066;
	scrollbar-highlight-color: #000066;
	scrollbar-3dlight-color: #000066;
	scrollbar-darkshadow-color: #000066;
	scrollbar-track-color: #FFFFFF;
	scrollbar-arrow-color: #FFFFFF;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
}
--> 
</style></head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="250" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table id="Tabelle_01" width="700" height="550" border="0" cellpadding="0" cellspacing="0" >
      <tr>
        <td colspan="9"> <img src="images/header.jpg" width="700" height="156" alt=""></td>
      </tr>
      <tr>
        <td colspan="9"><IFrame width="700" height="377" frameborder="0" name="framebox" src="frames/welcome2.html" align="center" marginWidth="center" marginHeight="center"></IFrame></td>
      </tr>
      <tr>
        <td> <img src="images/navi_space.gif" width="197" height="17" alt=""></td>
        <td> <a href="frames/news.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - News';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_news.gif" width="41" height="17" border="0" alt="News"></a></td>
        <td> <a href="frames/about_us.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - About Us';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_aboutus.gif" width="81" height="17" border="0" alt="About Us"></a></td>
        <td> <a href="frames/charts.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - Charts';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_charts.gif" width="65" height="17" border="0" alt="Charts"></a></td>
        <td> <a href="frames/media.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - Media';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_media.gif" width="49" height="17" border="0" alt="Media"></a></td>
        <td> <a href="frames/pics.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - Pics';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_pics.gif" width="43" height="17" border="0" alt="Pics"></a></td>
        <td> <a href="frames/links.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - Links';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_links.gif" width="52" height="17" border="0" alt="Links"></a></td>
        <td> <a href="http://62574.netguestbook.com/" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - Guestbook';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_g-book.gif" width="89" height="17" border="0" alt="Guestbook"></a></td>
        <td> <a href="frames/kontakt.html" target="framebox"
				onmouseover="window.status='Dj Cube & T-Rod - Kontakt';  return true;"
				onmouseout="window.status='';  return true;"> <img src="images/button_kontact.gif" width="83" height="17" border="0" alt="Kontakt"></a></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>

Hier der code von Frame INHALT

Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Welcome</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="imagetoolbar" content="no>"
</script>
<style type="text/css">
<!--
body,td,th {
	font-family: Arial;
	color: #000066;
}
body {
	background-color: #000033;
}
a:link {
	color: #0099FF;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #00CCFF;
}
a:hover {
	text-decoration: none;
	color: #0033FF;
}
a:active {
	text-decoration: none;
	color: #000099;
}
-->
<!--

BODY {
	scrollbar-face-color: #000066;
	scrollbar-shadow-color: #000066;
	scrollbar-highlight-color: #000066;
	scrollbar-3dlight-color: #000066;
	scrollbar-darkshadow-color: #000066;
	scrollbar-track-color: #FFFFFF;
	scrollbar-arrow-color: #FFFFFF;
	background-image: url(images/frame_bg.gif);
	background-attachment: fixed;
	margin-left: 0px;
	margin-top: 0px;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
}
.Stil2 {font-size: 36px}
--> 
</style></head>
<body bgcolor="#FFFFFF" height="100%" width="100%" bgproperties="fixed"> 
<p align="center" class="Stil1">&nbsp;</p>
<p align="left" class="Stil1 Stil2">WELCOME ON</p>
<p align="left" class="Stil1 Stil2">www.djcube-and-t-rod</p>
<p align="left" class="Stil1 Stil2">&nbsp;</p>
<p align="left" class="Stil1 Stil2">&nbsp;</p>
<p align="left" class="Stil1 Stil2">&nbsp;</p>
<p align="left" class="Stil1 Stil2">&nbsp;</p>
<p align="left" class="Stil1 Stil2">sdfasdfasdfa</p>
<p align="left" class="Stil1 Stil2">&nbsp;</p>
<p align="center" class="Stil1 Stil2">asdfasdfasdf</p>
<p align="center" class="Stil1 Stil2">asdfasdf </p>
</body>
</html>

Ich hoffe irkönnt s mir helfen!

Gruß

ELME
 
Zuletzt bearbeitet:

Sven Mintel

Mitglied
Mmmh....ich seh da keine Scrollbar?

...aber
Code:
marginWidth="center" marginHeight="center"
...marginWidth/marginHeight erwartet einen numerischen Wert.
 

digiTAL

Erfahrenes Mitglied
tach, oder du könntest im css
PHP:
body {
 background-color: #000033; margin:2px

schreiben oder bei margin:0px
 
Status
Nicht offen für weitere Antworten.