Salve,
seguendo guide ed esempi, sto costruendo la struttura di una mia pagina web.
Mi ritrovo con due div, content e content2, che (da codice) caricano rispettivamente in due iframe le pagine Scroller-home.html e News.html.
Questo è il css che li riguarda...
mentre la parte html è...codice:div#content { float: left; width: 408px; height: 146px; background-image: url(sfondo-container.gif); background-position: -12px 0px; text-align: center; } div#content2 { float: left; width: 408px; background-image: url(sfondo-container.gif); background-position: -12px 0px; text-align: center; font-family: Arial, Helvetica; font-size: 13px; }
Tuttavia entrambi gli iframe, su Firefox, visualizzano la pagina News.html!codice:<div id="content"> <iframe src="Scroller-home.html" name="scroll" width="408" height="146" marginheight="0" marginwidth="0" scrolling="auto" frameborder="0" target="_blank"></iframe></div> ... <div id="content2"> <iframe src="News.html" name="tab" width="408" height="215" marginheight="0" marginwidth="0" scrolling="auto" frameborder="0" target="_blank"></iframe> Novità | Disclaimer | Newsletter | Scambio banner | Vota il sito</div>Come mai?
Se può servire saperlo, sia la pagina contenitrice che le pagine visualizzate negli iframe hanno questa intestazione:
codice:<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

Come mai?
Rispondi quotando
