Menu sluit niet goed aan.
sicco - 20/02/2005 19:43 (laatste wijziging 20/02/2005 19:48)
Lid
Hey mensen,
Ik heb een probleem. Ik heb een drop-down menu die niet goed aansluit op de rest van de layout.
Ik bedoel dus, je hebt dus de header dan menu en dan hoort daaronder de rest te komen.
Maar bij mij zit er een gat tussen het menu en de rest.
Zie anders http://www.fifaeurope.nl/index3.php
Code:
<table border="0" cellpadding="0" cellspacing="0" width="800">
<!-- fwtable fwsrc="13.png" fwbase="fe.gif" fwstyle="Generic" fwdocid = "689892025" fwnested="0" -->
<tr>
<td><img src="stylo/spacer.gif" width="130" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="65" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="87" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="85" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="100" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="87" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="86" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="29" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="13" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="118" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10"><img name="fe_r1_c1" src="stylo/fe_r1_c1.jpg" width="800" height="85" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="85" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" background="stylo/fe_r2_c1.jpg"><? $date = date("j-m-Y");
echo" <b><font size='2' color='#FF6600'>»</font> <font color='#000000' size='2' face='Arial, Verdana, Helvetica, sans-serif'>$date</b>";?></td>
<td colspan="8"><img name="fe_r2_c2" src="stylo/fe_r2_c2.jpg" width="552" height="11" border="0" alt=""></td>
<td rowspan="2"><img name="fe_r2_c10" src="stylo/fe_r2_c10.jpg" width="118" height="27" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="11" border="0" alt=""></td>
</tr>
<tr>
<td colspan="8" background="stylo/fe_r3_c2.jpg"><?php
include ("config.php");
echo "<marquee width=98% style=\"cursor: default\" onmouseover=\"this.stop()\" onmouseout=\"this.start()\">";
$sql1 = "SELECT * FROM berichtenbalk ORDER BY id DESC LIMIT $hoeveel"; //ophalen van de berichten
$query1 = mysql_query($sql1);
while ($list = mysql_fetch_object($query1))
{
$naam1 = $list->naam;
$bericht1 = $list->bericht; //stuksje ubb
$bericht1 = nl2br($bericht1);
$bericht1 = htmlspecialchars($bericht1);
echo "<font color='#ffffff' size='1' face='Arial, Verdana, Helvetica, sans-serif'><b>$naam1</b>: $bericht1</font><font color='#ff6600' size='1' face='Arial, Verdana, Helvetica, sans-serif'> - "; //uiteindelijk het tone van de berichten
}
echo "</marquee><br>";
?></td>
<td><img src="stylo/spacer.gif" width="1" height="16" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10"><img name="fe_r4_c1" src="stylo/fe_r4_c1.jpg" width="800" height="22" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="22" border="0" alt=""></td>
</tr>
<tr cellpadding="0" cellspacing="0">
<td colspan="10"><? include("balk.html"); ?></td>
<td colspan="10"><img src="stylo/spacer.gif" width="1" height="2" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10"><img name="fe_r6_c1" src="stylo/fe_r6_c1.jpg" width="800" height="19" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="19" border="0" alt=""></td>
</tr>
<tr>
<td><img name="fe_r7_c1" src="stylo/fe_r7_c1.jpg" width="130" height="13" border="0" alt=""></td>
<td rowspan="10" colspan="7" background="stylo/fe_r7_c2.jpg" valign="top"><font color='#ffffff' size='1' face='Arial, Verdana, Helvetica, sans-serif'><?php
if(!$_GET['feu'])
$_GET['feu'] = "begin";// deze pagina wordt standaard geopend
if(file_exists($_GET['feu'].'.php'))// php is nu de standaard extentie. die je natuurijk kan veranderen
include($_GET['feu'].'.php'); // nu wordt(als de pagina bestaad) de pagina geopend
else
include("error.php");// anders opent hij deze pagina
?></td>
<td colspan="2"><img name="fe_r7_c9" src="stylo/fe_r7_c9.jpg" width="131" height="13" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="13" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" background="stylo/fe_r8_c1.jpg" valign="top"><?php
include('config.php');
enz......
<table border="0" cellpadding="0" cellspacing="0" width="800">
<!-- fwtable fwsrc="13.png" fwbase="fe.gif" fwstyle="Generic" fwdocid = "689892025" fwnested="0" -->
<tr>
<td><img src="stylo/spacer.gif" width="130" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="65" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="87" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="85" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="100" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="87" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="86" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="29" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="13" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="118" height="1" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10"><img name="fe_r1_c1" src="stylo/fe_r1_c1.jpg" width="800" height="85" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="85" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" background="stylo/fe_r2_c1.jpg">
<? $date = date ( "j-m-Y" ) ; echo " <b><font size='2' color='#FF6600'>»</font> <font color='#000000' size='2' face='Arial, Verdana, Helvetica, sans-serif'>$date </b>" ; ?
> </td>
<td colspan="8"><img name="fe_r2_c2" src="stylo/fe_r2_c2.jpg" width="552" height="11" border="0" alt=""></td>
<td rowspan="2"><img name="fe_r2_c10" src="stylo/fe_r2_c10.jpg" width="118" height="27" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="11" border="0" alt=""></td>
</tr>
<tr>
<td colspan="8" background="stylo/fe_r3_c2.jpg"><?php
include ( "config.php" ) ;
echo "<marquee width=98% s tyle=\" cursor: default\" onmouseover=\" this.stop()\" onmouseout=\" this.start()\" >" ;
$sql1 = "SELECT * FROM berichtenbalk ORDER BY id DESC LIMIT $hoeveel " ; //ophalen van de berichten
{
$naam1 = $list -> naam ;
$bericht1 = $list -> bericht ; //stuksje ubb
$bericht1 = nl2br ( $bericht1 ) ;
echo "<font color='#ffffff' size='1' face='Arial, Verdana, Helvetica, sans-serif'><b>$naam1 </b>: $bericht1 </font><font color='#ff6600' size='1' face='Arial, Verdana, Helvetica, sans-serif'> - " ; //uiteindelijk het tone van de berichten }
?> </td>
<td><img src="stylo/spacer.gif" width="1" height="16" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10"><img name="fe_r4_c1" src="stylo/fe_r4_c1.jpg" width="800" height="22" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="22" border="0" alt=""></td>
</tr>
<tr cellpadding="0" cellspacing="0">
<td colspan="10"><? include ( "balk.html" ) ; ?> </td>
<td colspan="10"><img src="stylo/spacer.gif" width="1" height="2" border="0" alt=""></td>
</tr>
<tr>
<td colspan="10"><img name="fe_r6_c1" src="stylo/fe_r6_c1.jpg" width="800" height="19" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="19" border="0" alt=""></td>
</tr>
<tr>
<td><img name="fe_r7_c1" src="stylo/fe_r7_c1.jpg" width="130" height="13" border="0" alt=""></td>
<td rowspan="10" colspan="7" background="stylo/fe_r7_c2.jpg" valign="top"><font color='#ffffff' size='1' face='Arial, Verdana, Helvetica, sans-serif'><?php
if ( ! $_GET [ 'feu' ] )
$_GET [ 'feu' ] = "begin" ; // deze pagina wordt standaard geopend
if ( file_exists ( $_GET [ 'feu' ] . '.php' ) ) // php is nu de standaard extentie. die je natuurijk kan veranderen include ( $_GET [ 'feu' ] . '.php' ) ; // nu wordt(als de pagina bestaad) de pagina geopend
else
include ( "error.php" ) ; // anders opent hij deze pagina
?> </td>
<td colspan="2"><img name="fe_r7_c9" src="stylo/fe_r7_c9.jpg" width="131" height="13" border="0" alt=""></td>
<td><img src="stylo/spacer.gif" width="1" height="13" border="0" alt=""></td>
</tr>
<tr>
<td rowspan="2" background="stylo/fe_r8_c1.jpg" valign="top"><?php
include ( 'config.php' ) ;
enz......
Het gaat dus om het stukje met
<? include("balk.html"); ?>
<? include ( "balk.html" ) ; ?>
dat niet goed aansluit op de rest.
Hopelijk zien jullie de fout, avb
9 antwoorden
Gesponsorde links
vinTage - 30/11/1999 00:00 (laatste wijziging 30/11/1999 00:00)
Nieuw lid
waarom een include daar rnJe kan dat toch gewoon in een tabelleke friemelen rnof snap ik het niet goed
sicco - 30/11/1999 00:00 (laatste wijziging 30/11/1999 00:00)
Lid
dat kan ja. maar door te includen houd ik het script wat overzichtelijker snap jernrnBalk.htmlrnrn[code]rnrnrnscript language=JavaScript1.2 src=mm_menu.jsscriptrnrnscript language=JavaScriptrn!-- hide this script from non-javascript-enabled browsersrnrnfunction mmLoadMenus() {rn window.mm_menu_0220140045_0 = new Menu(root,84,16,Verdana,11,#ffffff,#CC6812,#5C5C5C,#444343,left,middle,3,0,1000,-5,7,true,true,true,0,false,true);rn mm_menu_0220140045_0.addMenuItem(Donwloads,location='Linkje');rn mm_menu_0220140045_0.addMenuItem(Gastenboek,location='Linkje 2');rn mm_menu_0220140045_0.addMenuItem(Reviews,location='Linkje 3');rn mm_menu_0220140045_0.addMenuItem(Previews,location='Linkje 4');rn mm_menu_0220140045_0.addMenuItem(Interviews,location='Linkje 5');rn mm_menu_0220140045_0.hideOnMouseOut=true;rn mm_menu_0220140045_0.menuBorder=0;rn mm_menu_0220140045_0.menuLiteBgColor='#000000';rn mm_menu_0220140045_0.menuBorderBgColor='#000000';rn mm_menu_0220140045_0.bgColor='#5C5C5C';rn window.mm_menu_0220140003_1 = new Menu(root,84,16,Verdana,11,#ffffff,#CC6812,#5C5C5C,#444343,left,middle,3,0,1000,-5,7,true,true,true,0,false,true);rn mm_menu_0220140003_1.addMenuItem(FI,location='httpwww.fifainternational.com');rn mm_menu_0220140003_1.addMenuItem(Breamster,location='httpwww.breamster.com');rn mm_menu_0220140003_1.addMenuItem(SoccerAccess,location='httpwww.socceraccess.com');rn mm_menu_0220140003_1.addMenuItem(SoccerGamez,location='httpwww.soccergamez.com');rn mm_menu_0220140003_1.hideOnMouseOut=true;rn mm_menu_0220140003_1.menuBorder=0;rn mm_menu_0220140003_1.menuLiteBgColor='#000000';rn mm_menu_0220140003_1.menuBorderBgColor='#000000';rn mm_menu_0220140003_1.bgColor='#5C5C5C';rn window.mm_menu_0220135928_2 = new Menu(root,98,16,Verdana,11,#ffffff,#CC6812,#5C5C5C,#444343,left,middle,3,0,1000,-5,7,true,true,true,0,false,true);rn mm_menu_0220135928_2.addMenuItem(Forum,location='Linkje');rn mm_menu_0220135928_2.addMenuItem(Crew,location='Linkje2');rn mm_menu_0220135928_2.addMenuItem(About,location='Linkje2');rn mm_menu_0220135928_2.addMenuItem(Jobs,location='Linkje2');rn mm_menu_0220135928_2.addMenuItem(Contact,location='Linkje2');rn mm_menu_0220135928_2.addMenuItem(Add Message,location='Linkje2');rn mm_menu_0220135928_2.hideOnMouseOut=true;rn mm_menu_0220135928_2.menuBorder=0;rn mm_menu_0220135928_2.menuLiteBgColor='#000000';rn mm_menu_0220135928_2.menuBorderBgColor='#000000';rn mm_menu_0220135928_2.bgColor='#5C5C5C';rn window.mm_menu_0220135828_3 = new Menu(root,84,16,Verdana,11,#ffffff,#CC6812,#5C5C5C,#444343,left,middle,3,0,1000,-5,7,true,true,true,0,false,true);rn mm_menu_0220135828_3.addMenuItem(FIFA Street,location='Linkje');rn mm_menu_0220135828_3.addMenuItem(UEFA CL0405,location='Linkje 2');rn mm_menu_0220135828_3.addMenuItem(FIFA 2005,location='Linkje 2');rn mm_menu_0220135828_3.hideOnMouseOut=true;rn mm_menu_0220135828_3.menuBorder=0;rn mm_menu_0220135828_3.menuLiteBgColor='#000000';rn mm_menu_0220135828_3.menuBorderBgColor='#000000';rn mm_menu_0220135828_3.bgColor='#5C5C5C';rn window.mm_menu_0220135557_4 = new Menu(root,84,16,Verdana,11,#ffffff,#CC6812,#5C5C5C,#444343,left,middle,3,0,1000,-5,7,true,true,true,0,false,true);rn mm_menu_0220135557_4.addMenuItem(Nieuws,location='Linkje');rn mm_menu_0220135557_4.addMenuItem(Send Nieuws,location='Linkje2');rn mm_menu_0220135557_4.hideOnMouseOut=true;rn mm_menu_0220135557_4.menuBorder=0;rn mm_menu_0220135557_4.menuLiteBgColor='#000000';rn mm_menu_0220135557_4.menuBorderBgColor='#000000';rn mm_menu_0220135557_4.bgColor='#5C5C5C';rnrn mm_menu_0220135557_4.writeMenus();rn} mmLoadMenus()rnrn stop hiding --rnscriptrnheadrnrnbody bgcolor=#ffffff onload=rnscript language=JavaScript1.2mmLoadMenus();scriptrnimg name=balk src=imagesbalk.jpg width=800 height=24 border=0 usemap=#m_balk alt=!-- fwtable fwsrc=FMijn Ontvangen BestandenNieuwe mapNieuwe mapbalk.png fwbase=balk fwstyle=FrontPage fwdocid = 763869737 fwnested=0 --rnrnmap name=m_balkrnarea shape=rect coords=639,0,800,24 href=# alt= rnarea shape=rect coords=553,0,639,24 href=# alt= onMouseOut=MM_startTimeout(); onMouseOver=MM_showMenu(window.mm_menu_0220140045_0,553,24,null,'balk'); rnarea shape=rect coords=467,0,553,24 href=# alt= onMouseOut=MM_startTimeout(); onMouseOver=MM_showMenu(window.mm_menu_0220140003_1,467,24,null,'balk'); rnarea shape=rect coords=368,0,467,24 href=# alt= onMouseOut=MM_startTimeout(); onMouseOver=MM_showMenu(window.mm_menu_0220135928_2,368,24,null,'balk'); rnarea shape=rect coords=282,0,368,24 href=# alt= onMouseOut=MM_startTimeout(); onMouseOver=MM_showMenu(window.mm_menu_0220135828_3,282,24,null,'balk'); rnarea shape=rect coords=196,0,282,24 href=# alt= onMouseOut=MM_startTimeout(); onMouseOver=MM_showMenu(window.mm_menu_0220135557_4,196,24,null,'balk'); rnarea shape=rect coords=0,0,196,24 href=# alt= rnmap[code]
vinTage - 30/11/1999 00:00 (laatste wijziging 30/11/1999 00:00)
Nieuw lid
ik zit net in Fx te kijken, maar daar is het nog veel gekker srnAls je geen Fx hebt wil ik wel ff een screen maken
sicco - 30/11/1999 00:00 (laatste wijziging 30/11/1999 00:00)
Lid
hoezo danrnEdit zat 10 min geleden een btje te kloten dus het kan zijn dat je toen net keel cool
vinTage - 30/11/1999 00:00 (laatste wijziging 30/11/1999 00:00)
Nieuw lid
[url=httpusers.telenet.bevintagesitemastersvoetbalding.gif]kijk maar[url]
CelestialCelebi - 30/11/1999 00:00
PHP gevorderde
Het is nu (7 over 8) ook nog zo..
sicco - 30/11/1999 00:00
Lid
Day is trouwens ook een probleem jah, daar doet die dat zo raar terwijl in ie dat normaal staat maar het menubalk niet goed aansluit s rnMischien weet iemand ook hoe dat komt$
Speedy - 30/11/1999 00:00
PHP interesse
Off topicrnrn[b]Tip[b] Dat wit op wit is niet goed leesbaar links en rechts!
sicco - 30/11/1999 00:00
Lid
wat bedoel je
Gesponsorde links
Dit onderwerp is gesloten .