Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    problemino doctype css e anchor link

    Ciao a tutti, ho un problema con il mio sito internet, è una tesi preparata da una persona che la vuole presentare in modo multimedialecon questo sito.
    Il sito in generale consiste di tre frame due laterali che sono di grafica e menù e uno centrale in cui c'è il corpo del testo e tutto il resto.
    Ho dovuto eliminare il famoso "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" dal doctype perchè copiando i testi da word con formattazione completa mi faceva dei layout da schifo.Così ora funziona perfettamente con tutti gli stili da me enunciati, i css copleti e altre cosine....ma...ecoo il problema.Il menù laterale carica sempre il frame centrale con qualcosa ad esempio "paragrafo2b" nel quale leggendolo compare una parola la quale dovrebbe linkare ad un anchor name di un altra pagina fatta nello stesso modo che si carica in questo stesso frame centrale.Il problema è che carica la pagina ma non va al punto preciso dove è piazzato l'anchor name!Naturalmente se immetto il classico doctype il link funziona ma naturalmente css e layout vanno a quel paese.
    Carico qui il codice di paragrafo2b e poi di seguito il codice di paragrafo9 che contiene l'anchor name a cui arrivare.
    paragrafo2b
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="css.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    <!--
    body {
    margin-left: 0,3;
    margin-top: 0px;
    margin-bottom: 0px;
    }
    -->
    </style>
    <style type="text/css">
    <!--
    p.MsoNormal {
    margin:0cm;
    margin-bottom:.0001pt;
    font-size:12.0pt;
    font-family:"Times New Roman";
    color:windowtext;
    }
    p.lauftext {
    margin-right:0cm;
    margin-left:0cm;
    font-size:9.0pt;
    font-family:Arial;
    color:black;
    }
    p.western {
    margin-right:0cm;
    margin-left:0cm;
    font-size:12.0pt;
    font-family:"Times New Roman";
    color:windowtext;
    }
    #Layer1 {
    position:absolute;
    visibility:visible;
    width:335px;
    height:2004px;
    z-index:1;
    left: 7px;
    top: 18px;
    overflow: auto;
    }
    #Layer2 {
    position:absolute;
    visibility:visible;
    width:338px;
    height:2000px;
    z-index:1;
    }
    #Layer3 {
    position:absolute;
    visibility:visible;
    width:400px;
    height:800px;
    z-index:1;
    left: 7;
    }
    .style70 {
    font-size: 16px;
    color: #660000;
    }
    .style71 {font-family: Verdana}
    -->
    </style>
    <script type="text/javascript">
    <!--
    function MM_reloadPage(init) { //reloads the window if Nav4 resized
    if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
    else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
    //-->
    </script>
    <style type="text/css">
    <!--
    p.MsoTitle {
    margin:0cm;
    margin-bottom:.0001pt;
    text-align:center;
    line-height:150%;
    font-size:14.0pt;
    font-family:"Times New Roman";
    }
    #Layer4 {
    position:absolute;
    visibility:visible;
    width:415px;
    height:1500;
    z-index:1;
    left: 7;
    }
    .style78 {font-size: 18px}
    .style79 {
    font-family: "Lucida Sans";
    color: #660000;
    font-size: 18;
    }
    .style85 {
    font-size: 18px;
    font-weight: bold;
    font-family: 'Times New Roman';
    color: #993300;
    }
    .style86 {
    font-size: 14px;
    color: #993300;
    }
    -->
    </style>
    </head>

    <body background="realcentral.png"><script>
    var nn = (document.layers) ? 1 : 0;
    var ie = (document.all) ? 1 : 0;
    var coord_x = 0;
    var coord_y = 0;
    var auto_close = null;
    var inizio_hint = '';
    var fine_hint = '';
    var supporto = '<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr></table>';
    if (ie) document.write('<span id="hint_txt" style="position: absolute; top: 0; left: 0; visibility: hidden; z-index: 99"></span>');
    if (nn) document.write('<layer id="hint_txt" top="0" left="0" visibility="hide" zindex="99"></layer>');
    inizio_hint += '<table border="0" cellpadding="0" cellspacing="0">';
    inizio_hint += '<tr>';
    inizio_hint += '<td bgcolor="#E0E0E0" width="1" height="1" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#E0E0E0" height="1" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#E0E0E0" height="1" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#E0E0E0" height="1" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#000000" width="1" height="1" nowrap>' + supporto + '</td>';
    inizio_hint += '</tr>';
    inizio_hint += '<tr>';
    inizio_hint += '<td bgcolor="#E0E0E0" width="1" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#FFFFE6" height="3" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#000000" width="1" nowrap>' + supporto + '</td>';
    inizio_hint += '</tr>';
    inizio_hint += '<tr>';
    inizio_hint += '<td bgcolor="#E0E0E0" width="1" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#FFFFE6" width="5" nowrap>' + supporto + '</td>';
    inizio_hint += '<td bgcolor="#FFFFE6" height="13"><font face="Times New Roman" size="2" color="#9900CC">';
    fine_hint += '</font></td><td bgcolor="#FFFFE6" width="5" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#000000" width="1" nowrap>' + supporto + '</td>';
    fine_hint += '</tr>';
    fine_hint += '<tr>';
    fine_hint += '<td bgcolor="#E0E0E0" width="1" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#FFFFE6" height="3" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#FFFFE6" width="5" height="3" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#000000" width="1" nowrap>' + supporto + '</td>';
    fine_hint += '</tr>';
    fine_hint += '<tr>';
    fine_hint += '<td bgcolor="#000000" width="1" height="1" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#000000" height="1" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#000000" height="1" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#000000" height="1" nowrap>' + supporto + '</td>';
    fine_hint += '<td bgcolor="#000000" width="1" height="1" nowrap>' + supporto + '</td>';
    fine_hint += '</tr>';
    fine_hint += '</table>';
    if (ie) document.onmousemove = get_coord;
    if (nn) document.captureEvents (Event.MOUSEMOVE); document.onmousemove = get_coord;
    function get_coord (e) {
    if (ie) {
    coord_x = event.clientX + document.body.scrollLeft;
    coord_y = event.clientY + document.body.scrollTop;
    event.srcElement.onmouseout = off_hint;
    }
    if (nn) {
    coord_x = e.pageX + window.pageXOffset;
    coord_y = e.pageY + window.pageYOffset;
    e.target.onmouseout = off_hint;
    }
    return true;
    }
    function hint (testo) {
    if (typeof testo != 'undefined') {
    if (testo == "") testo = "";
    clearTimeout(auto_close);
    auto_close = null;
    if (ie) {
    hint_txt.innerHTML = inizio_hint + testo + fine_hint;
    hint_txt.style.pixelTop = coord_y + 15;
    hint_txt.style.pixelLeft = coord_x;
    hint_txt.style.visibility = "visible";
    }
    if (nn) {
    document.layers.hint_txt.document.open();
    document.layers.hint_txt.document.write(inizio_hin t + testo + fine_hint);
    document.layers.hint_txt.document.close();
    document.layers.hint_txt.left = coord_x;
    document.layers.hint_txt.top = coord_y + 15;
    document.layers.hint_txt.visibility = "show";
    }
    auto_close = setTimeout("off_hint()", 10000);
    }
    }
    function off_hint () {
    if (ie) hint_txt.style.visibility = "hidden";
    if (nn) document.layers.hint_txt.visibility = "hide";
    }
    </script>
    <p align="left" class="style70">



    <span class="MsoNormal style71">
    <style>
    BODY {filter: alpha(opacity=80) ; scrollbar-3dlight-color:#FFCC66; scrollbar-arrow-color:#CC6633 ; scrollbar-track-color:#FFCC66; scrollbar-darkshadow-color:#FFCC66; scrollbar-face-color:#FFCC33; scrollbar-highlight-color:#CC6633; scrollbar-shadow-color:#CC663
    </style>
    </span></p>
    <div class="style79" id="Layer4">
    <p class="style85" style="line-height:150%;"></p>
    <p class="style78" style="line-height:150%;"><span style="font-family:'Times New Roman'; color:#993300; ">2.2 Zum
    Ursprung des Begriffs </span>
    </p>
    <p class="style78" style="line-height:150%;"><span style="font-family:'Times New Roman'; color:#993300; ">Der
    Begriff &bdquo;Salsa&ldquo; als Bezeichnung f&uuml;r eine Musikrichtung
    entstand, ohne dass sich genau nachvollziehen l&auml;&szlig;t, wer ihn
    zuerst verwendete und wo er zuerst auftauchte. Der Rhythmus dieser Musikrichtung
    existierte schon lange vor der Bezeichnung &bdquo;Salsa&ldquo; und war
    in ganz Lateinamerika als <u>Son</u> oder M&uacute;sica Tropical bekannt,
    mit Schwerpunkt in den karibischen L&auml;ndern Kuba, Puerto Rico, Venezuela
    und Kolumbien. Der Begriff &bdquo;Salsa&ldquo; stand vermutlich sinnbildlich
    f&uuml;r temperamentvolle Musik mit hei&szlig;en Rhythmen und wurde auch
    als Anfeuerungsruf f&uuml;r die T&auml;nzer benutzt, &auml;hnlich wie &iexcl;Eso! oder &iexcl;Az&uacute;car!.
    In diesem Kontext steht auch das 1933 von dem kubanischen Komponisten Ignacio
    Pi&ntilde;ero ver&ouml;ffentlichte Lied &Eacute;chale Salsita,
    was im &uuml;bertragenen Sinne in etwa &bdquo;gib etwas Sch&auml;rfe an
    die Musik&ldquo; bedeutet. Viele Musiker &uuml;bernahmen daraufhin diesen
    beliebten Ausspruch und der Begriff &bdquo;Salsa&ldquo; begann, immer &ouml;fter
    aufzutauchen. In den 1950er Jahren beispielsweise begr&uuml;&szlig;te der
    kubanische Musiker <u><a href="http://www.cmt.com/artists/az/more_beny/bio.jhtml" target="_blank">Beny
    Mor&eacute;</a></u>
    sein Publikum oft mit <u><a href="javascript:void(0)" onmouseover="hint('„Hallo, Salsa!“')">&iexcl;H&oacute;la,
    Salsa!</a></u>>
    und in den 1960er Jahren tauchten
    Lieder auf, bei denen der Begriff erstmals im Titel erschien, obwohl man
    jene Musikform damals noch als <u>Boogaloo</u> bezeichnete. </span></p>
    <p class="style78" style="line-height:150%;"><span style="font-family:'Times New Roman'; color:#993300; ">Der
    weitverbreitesten Legende nach gelten die Musiker <u>Ricardo Ray</u> und <u><a href="http://www.bobbycruz.com/biografia.php" target="_blank">Bobby
    Cruz</a></u>
    als Erfinder des Begriffes &bdquo;Salsa&ldquo; f&uuml;r eine
    bestimmte Musikrichtung. Als diese in den 1960er Jahren w&auml;hrend einer
    Tournee durch Lateinamerika in Venezuela gastierten, bat sie der dort bekannte
    Moderator P. D. Escalona, den Stil ihrer Musik mit eigenen Worten zu beschreiben.
    Sie antworteten sinngem&auml;&szlig;: &bdquo;Unsere Musik ist wie Ketchup,
    wie salsa de tomate, die man auf die Hamburger streicht, um ihnen
    Geschmack zu geben.&ldquo; Der Legende nach entgegnete der Moderator daraufhin: &bdquo;Eure
    Musik ist Salsa. Ab heute nennen wir sie Salsa.&ldquo; &n bsp; </span><span style="font-family:'Times New Roman'; color:#993300; "> [Zit.
    2.4]</span> </p>
    >

  2. #2
    Frontend samurai L'avatar di fcaldera
    Registrato dal
    Feb 2003
    Messaggi
    12,924
    hai postato anche qui
    http://forum.html.it/forum/showthrea...readid=1118860

    e il crossposting non è ammesso... pertanto chiudo. Visto che sei al secondo post ti suggerisco anche la lettura del regolamento in evidenza.

    Ciao
    Vuoi aiutare la riforestazione responsabile?

    Iscriviti a Ecologi e inizia a rimuovere la tua impronta ecologica (30 alberi extra usando il referral)

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.