in IE6 (non hon provato col 7) la proprietà css oveflow:auto non viene presa. SApete dirmi come posso ottenere l'effetto scroll ceh invece si ottiene in firefox? Ecco il codice:
codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento senza titolo</title> <style type="text/css"> pre {background: #FFFF99; padding: 5px; overflow: auto;} </style> </head> <body> <div style="width: 400px;"> che bello</p> <pre> function fx(){ alert("ciao"); document.write("cool"); document.write("cool"); document.write("cool"); document.write("cool"); } </pre> che bello </p> </div> </body> </html>

Rispondi quotando