Div position

Status
Nicht offen für weitere Antworten.
X

XeroX

Gast
Hi hab nen problem mit ner div positionierung!

zu sehen auf:

homearcor.de/gsclan/geg.html

hier der code:

<html>
<head>
<title>GEG - Clan Page</title>
<script language="JavaScript">
function setDiv(w){
}
</script>
</head>
<body id="body" onResize="setDiv(document.getElementById('Body').offsetWidth)" bgcolor="#000000">
<center>
<table id="table" width="1024" height="176" cellpadding="0" cellspacing="0" border="0">
<tr>
<td background="images/banner.jpg">



&&&&&&&
<OBJECT ID="MediaPlayer" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
width="70" height="25" standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://home.arcor.de/kilianz/Matrix_Soundtrak.mp3">
<PARAM NAME="TransparentAtStart" Value="true">
<PARAM NAME="AutoStart" Value="true">
<PARAM NAME="AnimationatStart" Value="false">
<PARAM NAME="ShowStatusBar" Value="false">
<PARAM NAME="ShowControls" Value="true">
<PARAM NAME="autoSize" Value="false">
<PARAM NAME="displaySize" Value="false">
<PARAM NAME="ShowAudioControls" Value="true">
<PARAM NAME="ShowPositionControls" Value="false">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
src="http://home.arcor.de/kilianz/Matrix_Soundtrak.mp3" Name="MediaPlayer"
width="0" height="0" transparentAtStart="0" autostart="0"
animationAtStart="0" ShowControls="true" ShowAudioControls="0"
ShowPositionControls="0" autoSize="0" ShowStatusBar="0" displaySize="false">
</embed></OBJECT>
</td>
</tr>
</table>
<div id="c_top" align="center" style="position: absolute; left: 0px; top: 0px;">
<table id="div_t" width="234" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="234" height="55" background="images/c_top.jpg">&</td>
</tr>
</table>
</div>
<table id='tab' width="1024" height="90%" cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td width="175" background="images/l_slice.jpg">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="49" width="100%" background="images/l_menu.jpg"></td>
</tr>
</table>
</td>
<td width="664">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td><iframe src="first.htm" width="100%" height="100%" name="c_frame" scrolling="Auto" frameborder="0">
</iframe>
</td>
</tr>
</table>
</td>
<td id="r_menu" width="185" height="90%" background="images/r_slice.jpg">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td height="48" width="100%" background="images/r_menu.jpg">
</td>
</tr>
<tr>
<td>
<table width="85%" height="100%" align="right">
<tr>
<td>
<iframe src="http://473379.myshoutbox.com/" width="100%" height="100%" name="s_frame" scrolling="Auto" frameborder="0"></iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="1024" height="74" cellpadding="0" cellspacing="0" border="0">
<tr>
<td background="images/footer.jpg">&</td>
</tr>
</table>
</center>
</body>
</html>

versuchs jetzt mit absolute habs vorher mit relative gemacht funzt aber nicht wie man auf dem link sehen kann!

Währe dank bar wenn jemand helfen kann willst halt so haben das wenn jemand resize macht das der div dann auch noch richtig sitzt,
brauche also nur die rechnung für die position des div's[/code]
 
G

Guest

Gast
XeroX hat gesagt.:
Hi hab nen problem mit ner div positionierung!

zu sehen auf:

homearcor.de/gsclan/geg.html

hier der code:
Code:
<html>
<head>
	<title>GEG - Clan Page</title>
<script language="JavaScript">
	function setDiv(w){
	}
</script>
</head>
<body id="body" onResize="setDiv(document.getElementById('Body').offsetWidth)" bgcolor="#000000">
<center>
<table id="table" width="1024" height="176" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td background="images/banner.jpg">
		


&&&&&&&
		<OBJECT ID="MediaPlayer"  classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
width="70" height="25" standby="Loading Microsoft Windows Media Player components..."
type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="http://home.arcor.de/kilianz/Matrix_Soundtrak.mp3">
<PARAM NAME="TransparentAtStart" Value="true">
<PARAM NAME="AutoStart" Value="true">
<PARAM NAME="AnimationatStart" Value="false">
<PARAM NAME="ShowStatusBar" Value="false">
<PARAM NAME="ShowControls" Value="true">
<PARAM NAME="autoSize" Value="false">
<PARAM NAME="displaySize" Value="false">
<PARAM NAME="ShowAudioControls" Value="true">
<PARAM NAME="ShowPositionControls" Value="false">
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
src="http://home.arcor.de/kilianz/Matrix_Soundtrak.mp3" Name="MediaPlayer"
width="0" height="0" transparentAtStart="0" autostart="0"
animationAtStart="0" ShowControls="true" ShowAudioControls="0"
ShowPositionControls="0" autoSize="0" ShowStatusBar="0" displaySize="false">
</embed></OBJECT>
		</td>
	</tr>
</table>
<div id="c_top" align="center" style="position: absolute; left: 0px; top: 0px;">
	<table id="div_t" width="234" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td width="234" height="55" background="images/c_top.jpg">&</td>
		</tr>
	</table>
</div>
<table id='tab' width="1024" height="90%" cellpadding="0" cellspacing="0" border="0">
	<tr valign="top">
		<td width="175" background="images/l_slice.jpg">
			<table width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td height="49" width="100%" background="images/l_menu.jpg"></td>
				</tr>
			</table>
		</td>
		<td width="664">
		<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td><iframe src="first.htm" width="100%" height="100%" name="c_frame" scrolling="Auto" frameborder="0">
				</iframe>
				</td>
			</tr>
		</table>
		</td>
		<td id="r_menu" width="185" height="90%" background="images/r_slice.jpg">
			<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td height="48" width="100%" background="images/r_menu.jpg">
					</td>
				</tr>
				<tr>
					<td>
						<table width="85%" height="100%" align="right">
							<tr>
								<td>
								<iframe src="http://473379.myshoutbox.com/" width="100%" height="100%" name="s_frame" scrolling="Auto" frameborder="0"></iframe>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<table width="1024" height="74" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<td background="images/footer.jpg">&</td>
	</tr>
</table>
</center>
</body>
</html>

versuchs jetzt mit absolute habs vorher mit relative gemacht funzt aber nicht wie man auf dem link sehen kann!

Währe dank bar wenn jemand helfen kann willst halt so haben das wenn jemand resize macht das der div dann auch noch richtig sitzt,
brauche also nur die rechnung für die position des div's
 
Status
Nicht offen für weitere Antworten.
Ähnliche Java Themen

Ähnliche Java Themen

Neue Themen


Oben