salve ragazzi,
ho questo piccolissimo problema: creo la mia sezione di link con le mie anchor, creo il testo con i riferimenti giusti tutto funziona tranne che se faccio indietro nel browser non torna al div giusto, ergo dove sbaglio?![]()
grazie a chiunque mi dedichi il suo tempo..codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta content="HTML Tidy for Windows (vers 1 September 2005), see www.w3.org" name="generator" /> <meta http-equiv="content-type" content="text/html; charset=us-ascii" /> <title>pagina base</title> <link type="text/css" href="common.css" rel="stylesheet" /> <style type="text/css"> .content img { border: 1px dotted black; padding: 5px; } a:link:hover img{ border-color: #cc0000} .ancora { height: 100%; overflow: auto; } </style> <style type="text/css"> body { background-color:; } #myd { height: 300px; overflow: hidden; } #anc1 { height: 100%; overflow: auto; } </style> </head> <body> <div class="menu_ver" id="pagina1"> <ul>[*]<span>[ ] Link 1</span>[*]<span>[ ] Link 2</span>[*]<span>[ ] Link 3</span>[*]<span>[ ] Link 4</span>[*]<span>[ ] Link 5</span>[*]<span>[ ] Link 6</span>[/list] </div> <div id="myd" style="position:absolute; left:400px; top:200px; width:400px; border: solid red 2px"> <div id="anc0" style="height:400px; border:solid 1px"> <p id="anc3">line line line line line line line </p> </div> <div id="anc1"> <p id="anc4"> p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 p2 </p> </div> </div> </div> </body> </html>
ciaux