questo è il mio codice VALIDATO
ma crea un errore...codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>titolo</title> </head> <frameset rows="50,*" cols="*"> <frame src="inc.top.asp" name="header" scrolling="no" noresize="noresize" frameborder="0" /> <frameset cols="200,*"> <frame src="inc.bar.asp" name="leftFrame" scrolling="yes" noresize="noresize" frameborder="0" /> <frame src="content.asp" name="mainFrame" frameborder="0" /> </frameset> <noframes> <body> <h1>WARNING!</h1> frames support needed</p> </body> </noframes> </frameset> </html>
soprattutto in FIREFOX fra l'header e la barra/contenuto si crea un bordo bianco di 5 pixel...
se modifico così va tutto a posto (giustamente)
ma al validatore W3 proprio non va giu quell'attributo al frameset...codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <title>titolo</title> </head> <frameset rows="50,*" cols="*" frameborder="0"> <frame src="inc.top.asp" name="header" scrolling="no" noresize="noresize" frameborder="0" /> <frameset cols="200,*"> <frame src="inc.bar.asp" name="leftFrame" scrolling="yes" noresize="noresize" frameborder="0" /> <frame src="content.asp" name="mainFrame" frameborder="0" /> </frameset> <noframes> <body> <h1>WARNING!</h1> frames support needed</p> </body> </noframes> </frameset> </html>
[ho provato anche via CSS ma non riesco a intervenire sui frame... ignorano BORDER, PADDING, MARGIN...
se lo applico al frameset ovviamente raggiungo un obiettivo che non mi interessa... (margini, bordi, padding a tutto l'oggetto)]
come faccio?


Rispondi quotando