webForumDet fria alternativet

Vad e det som krockar här?

HTML & CSS

3 svar · 552 visningar · startad av kraeftan

Medlem sedan juli 200782 inlägg
Frågan#1

Nu efter att jag lagt till en ny div som heter "meny" så blir sidan helt cp. Halva sidan blir vit :S
Undrar vilket script som gör att det krockar med något? Länk till sidan finns längst ner.

<html>
<head>
<script language="JavaScript">
<!--
function blured()
{
for (a in document.links) document.links[a].onfocus = document.links[a].blur;
}
if (document.all)
{
document.onmousedown = blured;
}
// -->
</script>
<meta http-equiv="imagetoolbar" content="no">
</head> 

<style type="text/css">

<style>
{!-Create space for image above body. Change px value to the height of your image -!}
body {margin-top:0px}

{!-Position your image.  margin-left should be negative and half the width of your image.  change width and height to that of your image-!}
div.topbanner {position:absolute; top:0px; left:50%; margin-left:-640px; width:0px; height:0px;}

div.meny {position:absolute; top:242px; left:50%; margin-left:-638px; width:0px; height:0px;}

div.iframe {position:absolute; top:280px; left:50%; margin-left:-360px; width:0px; height:0px;}
</style>

<span class="off"></span>
<div class="topbanner">
<table align="center" height="100%" cellspacing="0" cellpadding="0">
	<tr valign="center">
		<td>
			<table style="width:750px;height:1024px;">
				<td align="center" style="background-image:url('hela2.gif');background-position:absolute:top left;background-repeat:no-repeat;padding:0px 0px 0px 0px;">
	
				</td>
			</table>
		</td>
	<tr>
</table>
</div>

<span class="off"></span>
<div class="meny">
	<table align="center" height="100%" cellspacing="0" cellpadding="0">
		<tr valign="center">
			<td>
				<tr>
					<td colspan="0">
					<img src="1.gif" width="290" height="23" border=0 alt=""><a target="main" onclick="javascript:window.close();" href="start.php"><img src="topplistan.gif" width=114 height=23 border=0 alt=""></a><img src="2.gif" width="23" height="23" border=0 alt=""><a target="main" onclick="javascript:window.close();" href="start.php"><img src="veckansfis.gif" width="121" height="23" border=0 alt=""></a><img src="3.gif" width="24" height="23" border=0 alt=""><a target="main" onclick="javascript:window.close();" href="start.php"><img src="veckansrookie.gif" width="160" height="23" border=0 alt=""></a><img src="4.gif" width="24" height="23" border=0 alt=""><a target="main" onclick="javascript:window.close();" href="start.php"><img src="ljudklipp.gif" width="100" height="23" border=0 alt=""></a><img src="5.gif" width="24" height="23" border=0 alt=""><a target="main" onclick="javascript:window.close();" href="start.php"><img src="videoklipp.gif" width="111" height="23" border=0 alt=""></a><img src="6.gif" width="289" height="23" border=0 alt="">
					</td>
				</tr>
			</td>
		<tr>
	</table>
</div>

<span class="off"></span>
<div class="iframe">
	<table id="Table_01" width="0" height="0 border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td colspan="0">
				<iframe src="start.php" name="main" width="722" height="600" frameborder="0" allowtransparency="true" background-color="transparent">
				</iframe>
			</td>
		</tr>
	</table>
</div>

<style type="text/css">
body {
	background-color:transparent;
	background-image: url("");
	background-position: top center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	overflow-x:hidden;
	overflow-y:scroll;
	}
</style>
</html>

Om ni vill hur det ser ut så kolla länken här!

Medlem sedan juni 20019 519 inlägg
#2

Du har en tabell med CSS: width: 750px; height: 1024px; ändra width på den

Medlem sedan juni 20008 205 inlägg
#3

Det där javascriptet du har, det är ondska. Bara så du vet.

Medlem sedan juli 200782 inlägg
#4

tack

141 ms totalt · 2 externa anrop · v20260731065814-full.2ae45ccc
0 ms — hämta statistik (cache)
138 ms — hämta tråd, inlägg och bilagor (db)