Ciao raga, ho un problema su una pagina in html che ho fatto..
questo è il codice(comprende css e javascript):
il problema è che, qualsiasi cosa faccia, nella home nn posso scrivere niente, perchè qualsiasi cosa scrivo viene sempre inserita sotto al menù! Avevo pensato di utilizzare un frame, ma non sono esperto in html, e non so come fare per inserire tramite frame, una pagina con testo senza che si vedano le scroll. Se qualcuno sa risolvermi il problema anche senza frame ne sarei davvero felice, grazie.codice:<html xmlns="http://www.w3.org/1999/xhtml"><head> <title>HackToPhrack - Italia Underground</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript"> // JavaScript Document startList = function() { if (document.all&&document.getElementById) { navRoot = document.getElementById("nav"); for (i=0; i<navRoot.childNodes.length; i++) { node = navRoot.childNodes[i]; if (node.nodeName=="LI") { node.onmouseover=function() { this.className+=" over"; } node.onmouseout=function() { this.className=this.className.replace(" over", ""); } } } } } window.onload=startList; </script> <style type="text/css"> body { font: normal 11px verdana; } ul { margin: 0; padding: 0; list-style: none; width: 150px; /* Width of Menu Items */ border-bottom: 1px solid #ccc; } ul li { position: relative; } li ul { position: absolute; left: 149px; /* Set 1px less than menu width */ top: 0; display: none; } /* Styles for Menu Items */ ul li a { display: block; text-decoration: none; color: #777; background: #fff; /* IE6 Bug */ padding: 5px; border: 1px solid #ccc; border-bottom: 0; } /* Fix IE. Hide from IE Mac \*/ * html ul li { float: left; height: 1%; } * html ul li a { height: 1%; } /* End */ ul li a:hover { color: #E2144A; background: #f9f9f9; } /* Hover Styles */ li ul li a { padding: 2px 5px; } /* Sub Menu Styles */ li:hover ul, li.over ul { display: block; } /* The magic */ </style></head> <body><p align=center>[img]logo.gif[/img]</p> <ul id="nav"> [*]Home [*]About Us <ul> [*]Chi Siamo [*]Contatti [*]Il progetto [/list] [*]Community <ul> [*]Forum [*]News e articoli [*]Download [*]Guide e tutorial [*]Cosa dicono di noi.. [/list] [*]HackToPhrack <ul> [*]La filosofia [*]La storia [*]Aggiornamenti [*]Scrivici.. [/list] [*]Scripting <ul> [*]Html, DHTML, CSS [*]XML, XSS [*]PHP [*]ASP[*]Perl[/list][*]WareZ <ul> [*]Software [*]Music Tool [*]Graphic Tool [*]General Tool [/list][*]Other <ul> [*]Biometria [*]Sicurezza [*]Anonimato [*]Ingegneria Sociale [/list] </body></head></html>
![]()