Gå til innhold

Anbefalte innlegg

Hei

 

Jeg har et lite problem. Jeg lager en hjemmeside og har kommet ganskje langt syns jeg. Denne koden her ser helt anderledes enn jeg har forestilt meg den. Det må jo være en skrivefeil i koden eller noe men jeg finner den ikke. Jeg vil at selve hovedsiden skal ligge ved siden av og være like høy som menyen der alle linkene er. Dette er koden:

 

<table width="100%" border="1">



<tr>

<td>





<table width="25%" border="1" bgcolor="#666666" bordercolor="#999999">

<tr>

<td>  <img src="images/logo.gif" width="250" height="100">

</td>

</tr>

</table> 



<br>



<table width="25%" border="1" bgcolor="#666666" bordercolor="#999999">

<tr>

<td>

 	<p><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Index','','images/index_01-over.gif',1)"><img name="Index" border="0" src="images/index_01.gif" width="250" height="50"></a><br>

 	<a href="history.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('History','','images/history_01-over.gif',1)"><img name="History" border="0" src="images/history_01.gif" width="250" height="50"></a><br>

 	<a href="gutta.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gutta','','images/gutta_01-over.gif',1)"><img name="Gutta" border="0" src="images/gutta_01.gif" width="250" height="50"></a><br>

 	<a href="musikken.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Musikken','','images/musikken_01-over.gif',1)"><img name="Musikken" border="0" src="images/musikken_01.gif" width="250" height="50"></a><br>

 	<a href="gigs.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('GiGs','','images/gigs_01-over.gif',1)"><img name="GiGs" border="0" src="images/gigs_01.gif" width="250" height="50"></a><br>

 	<a href="booking.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Booking','','images/booking_01-over.gif',1)"><img name="Booking" border="0" src="images/booking_01.gif" width="250" height="50"></a><br>

 	<a href="linker.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('linker','','images/linker_01-over.gif',1)"><img name="linker" border="0" src="images/linker_01.gif" width="250" height="50"></a><br>

 	<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('forum','','images/forum_01-over.gif',1)"><img name="forum" border="0" src="images/forum_01.gif" width="250" height="80"></a></p>

</td>

</tr>

</table>	

</td>

</tr>



<tr>

<td>

 	<table width="300" height="574" border="1">

<tr>

<td>  DETTE ER HJEMMESIDE

</td>

</tr>

</td>

</tr>

</table>

 

Her kan dere se hvordan d blir:

http://home.no.net/ola100/forsok/main.php

 

Kan noen hjelpe meg??

Lenke til kommentar
Videoannonse
Annonse

Burde kanskje tatt med php koden sånn at dere kan se på den ekte feilen...

 

Her er hovedsiden:

<html>

<head>

<title>

Slipper Heroes Interactive</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/JavaScript">

<!--

function MM_swapImgRestore() { //v3.0

 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



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];}}

}



function MM_findObj(n, d) { //v4.01

 var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

   d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

 if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

 if(!x && d.getElementById) x=d.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

 var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

//-->

</script>

</head>

<body bgcolor="#000000" onload="MM_preloadImages('images/index_01-over.gif','images/history_01-over.gif','images/gutta_01-over.gif','images/musikken_01-over.gif','images/gigs_01-over.gif','images/booking_01-over.gif','images/linker_01-over.gif','images/forum_01-over.gif')">>





<table width="100%" border="1">



<tr>

<td>

<?php include("meny.php"); ?>

</td>

</tr>



<tr>

<td>

<table width="300" height="574" border="1">

<tr>

 	<td>DETTE ER HJEMMESIDE</td>

</tr>

</td>

</tr>

</table>







</body>

</html>

 

Og her er menyen:




<table width="25%" border="1" bgcolor="#666666" bordercolor="#999999"><tr><td><img src="images/logo.gif" width="250" height="100"></td></tr></table> 

<br>

<table width="25%" border="1" bgcolor="#666666" bordercolor="#999999">

<tr><td>

<p><a href="main.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Index','','images/index_01-over.gif',1)"><img name="Index" border="0" src="images/index_01.gif" width="250" height="50"></a><br>

<a href="history.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('History','','images/history_01-over.gif',1)"><img name="History" border="0" src="images/history_01.gif" width="250" height="50"></a><br>

<a href="gutta.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Gutta','','images/gutta_01-over.gif',1)"><img name="Gutta" border="0" src="images/gutta_01.gif" width="250" height="50"></a><br>

<a href="musikken.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Musikken','','images/musikken_01-over.gif',1)"><img name="Musikken" border="0" src="images/musikken_01.gif" width="250" height="50"></a><br>

<a href="gigs.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('GiGs','','images/gigs_01-over.gif',1)"><img name="GiGs" border="0" src="images/gigs_01.gif" width="250" height="50"></a><br>

<a href="booking.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Booking','','images/booking_01-over.gif',1)"><img name="Booking" border="0" src="images/booking_01.gif" width="250" height="50"></a><br>

<a href="linker.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('linker','','images/linker_01-over.gif',1)"><img name="linker" border="0" src="images/linker_01.gif" width="250" height="50"></a><br>

<a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('forum','','images/forum_01-over.gif',1)"><img name="forum" border="0" src="images/forum_01.gif" width="250" height="80"></a></p>

</td></tr>

</table>

 

SÅNN!

Da kan dere vel sjekke hva som er problemet... håper jeg da...

 

Mvh

Ola

Lenke til kommentar
Gjest
Dette emnet er stengt for flere svar.
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...