Ciao a tutti,
Mi piacerebbe creare una pagina "contenitore" composta da 2 frame uno di 0px e l'altro grande tutta la pagina.
L'ho realizzata cosi':
Il problema é che quando la apro (IE7) vedo un bordo bianco in alto di qualche pixel.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" xml:lang="it" lang="it"> <head> <title>sito</title> </head> <frameset rows="0, *"> <frame frameborder="0" marginwidth="0" marginheight="0" name="none" src="none.html" noresize="noresize" scrolling="no" /> <frame frameborder="0" marginwidth="0" marginheight="0" name="main" id="main" src="who.html" noresize="noresize" /> <noframes> <body> No Frame</p> </body> </noframes> </frameset> </html>
(con altri browser non so che succede)
Posso risolvere modificando la riga 6 con:
pero' a questo punto http://validator.w3.org/ in quanto "frameset" non accetta "frameborder", esiste un modo per risolvere e passare la verifica oppure mi devo tenere l'errore?codice:<frameset rows="0, *" frameborder="0">
Grazie
blp

Rispondi quotando