Tänkte lägga in en ny meny, men har lite problem med den. Centrerar jag den så ser den inte lika bra ut som om jag lägger den till höger t.ex. Se själv på bilderna:
I javafilen så ändras bara en 1:a till en 2:a. Resten ser precis likadant ut. Någon som kan lista ut varför det ser ut så här ?
Varför blir det så här ?
Moderator: Moderatorgrupp
Varför blir det så här ?
Feel the Force !
windsurf.se
windsurf.se
Det är omöjligt att säga utan att kunna kolla på koden.
Jakob Persson - Grundare av phpBB Sverige - IT-konsult - http://www.jakob-persson.com
The Complete phpBB Template Design Guide
The Complete phpBB Template Design Guide
Vilken kod är du ute efter ?
Koden för där den ligger i templatefilen ser ut så här:
menu.js ser ut så här:
Koden för där den ligger i templatefilen ser ut så här:
Kod: Markera allt
<tr>
<td>
<table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td class="navigatore" style="padding: 0px;">
<script type="text/javascript" language="JavaScript1.2" src="mkportal/templates/bodydrag/menu.js"></script>
</td>
</tr>
</table>
</td>
</tr>
Kod: Markera allt
stm_bm(["menu0d66",660,"","blank.gif",0,"","",1,0,250,0,1000,1,0,0,"","100%",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,9,0,0,0,70,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.69)",-2,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.69)",-2,41,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_ai("p0i0",[0,"Hem","","",-1,-1,0,"http://www.windsurf.se","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",1,"#B5BED6",1,"","",3,3,0,0,"#FFFFF7","#000000","#496c9f","496c9f","bold 8pt Verdana","bold 8pt Verdana",0,0]);
stm_aix("p0i1","p0i0",[0,"Forum","","",-1,-1,0,"http://www.windsurf.se/forum/index.php","_self","","","","",0,0,0,"arrow_r.gif","arrow_r.gif",0,0,0,1,1,"#FFFFF7",1,"#B5BED6",1,"","",3,3,0,0,"#FFFFF7","#000000","#496c9f","#496c9f"]);
stm_bpx("p1","p0",[1,4,-16,0,1,3,0,0,75,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.50)",-2,"",-2,60,0,0,"#999999","#dfe6ef","060508line.gif"]);
stm_aix("p1i0","p0i0",[0,"Profil","","",-1,-1,0,"http://www.windsurf.se/forum/profile.php?mode=editprofile","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7",1,"#B5BED6",1,"","",3,3,0,0,"#FFFFF7","#000000","#496c9f","#FF0000"]);
stm_aix("p1i1","p1i0",[0,"Sök","","",-1,-1,0,"http://www.windsurf.se/forum/search.php"]);
stm_aix("p1i2","p1i0",[0,"Nya inlägg","","",-1,-1,0,"http://www.windsurf.se/forum/search.php?search_id=newposts"]);
stm_ep();
stm_aix("p0i2","p0i1",[0,"Fotoalbum","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=gallery"]);
stm_bpx("p2","p1",[1,4,-9,0,1,3,0,5]);
stm_aix("p2i0","p1i0",[0,"Kategorier","","",-1,-1,0,"","_self","","","","",0,0,0,"arrow_red.gif","arrow_red.gif",5,5]);
stm_bpx("p3","p1",[1,2,0,-1]);
stm_aix("p3i0","p1i0",[0,"Vindsurfing","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=gallery&op=section_view&idev=1"]);
stm_aix("p3i1","p1i0",[0,"Övrigt","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=gallery&op=section_view&idev=3"]);
stm_ep();
stm_aix("p2i1","p1i0",[0,"Lägg upp bild","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=gallery&op=submit_file"]);
stm_ep();
stm_aix("p0i3","p0i1",[0,"Länkar","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=websites"]);
stm_bpx("p4","p1",[1,4,-17]);
stm_aix("p4i0","p1i0",[0,"Lägg till länk","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=websites&op=submit_file"]);
stm_ep();
stm_aix("p0i4","p0i1",[0,"Downloads","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=downloads"]);
stm_bpx("p5","p2",[1,4,0]);
stm_aix("p5i0","p2i0",[]);
stm_bpx("p6","p3",[]);
stm_aix("p6i0","p1i0",[0,"Rigguider","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=downloads&op=section_view&idev=1"]);
stm_aix("p6i1","p1i0",[0,"Produktkataloger","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=downloads&op=section_view&idev=2"]);
stm_aix("p6i2","p1i0",[0,"Mjuka varor","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=downloads&op=section_view&idev=3"]);
stm_ep();
stm_aix("p5i1","p1i0",[0,"Ladda upp","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=downloads&op=submit_file"]);
stm_ep();
stm_aix("p0i5","p0i1",[0,"Recensioner","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=reviews"]);
stm_bpx("p7","p1",[1,4,9]);
stm_aix("p7i0","p1i0",[0,"Skriv ny","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=reviews&op=submit_file"]);
stm_ep();
stm_aix("p0i6","p0i1",[0,"Citat","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=quote","_self","","","","",0,0,0,"",""]);
stm_aix("p0i7","p0i1",[0,"Artiklar","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=articoli"]);
stm_bpx("p8","p2",[1,4,-8]);
stm_aix("p8i0","p2i0",[]);
stm_bpx("p9","p1",[1,2,0,-2]);
stm_aix("p9i0","p1i0",[0,"Krönikor","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=articoli&op=section_view&idev=1"]);
stm_aix("p9i1","p1i0",[0,"Guider","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=articoli&op=section_view&idev=2"]);
stm_aix("p9i2","p1i0",[0,"Resor","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=articoli&op=section_view&idev=3"]);
stm_ep();
stm_aix("p8i1","p1i0",[0,"Nyheter","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=news"]);
stm_ep();
stm_aix("p0i8","p0i6",[0,"Trickskola","","",-1,-1,0,"http://www.windsurf.se/index.php?pid=1"]);
stm_aix("p0i9","p0i6",[0,"Om oss","","",-1,-1,0,"http://www.windsurf.se/index.php?pid=17"]);
stm_aix("p0i10","p0i6",[0,"Kontakt","","",-1,-1,0,"http://www.windsurf.se/index.php?ind=contact"]);
stm_ep();
stm_sc(1,["transparent","transparent","","",3,3,0,0,"#FFFFF7","#000000","up_disabled.gif","up_enabled.gif",7,9,0,"down_disabled.gif","down_enabled.gif",7,9,0,0,200]);
stm_em();
Feel the Force !
windsurf.se
windsurf.se
Vilka är online
Användare som besöker denna kategori: 4 och 0 gäster