Zalezy mi na tym, aby w ponizszym kodzie pozbyc się ramki, ktora nie jest zgodna ze specyfikacja xhtml 1.0 Strict.
Probowalem z divem poprzez: contentEditable= 'true'
Niestety tego nie wspiera mozilla.
Czy mozna to zrobic jakos inaczej ? (pozostajac w xhtml 1.0 Strict)
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <script type="text/javascript"> function italic(){ document.getElementById('edit').contentWindow.document.execCommand('italic',false,null) } </script> </head> <body onload="document.getElementById('edit').contentWindow.document.designMode='on'"> </body> </html>