Thanks to all people that have answered to my question
here what i write in my preambule
\renewenvironment{lyxcode}
{
\begin{framed}
\begin{list}{}{
\footnotesize
\setlength{\rightmargin}{\leftmargin}
\raggedright
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\normalfont\ttfamily}%
\item[]}
{\end{list}
\end{framed}
}
It works quite well
THe only problem i have now is that i use hevea to produce HTML and it
doesn't know how to cope with frame but it s another problem i have to
investigate.
Yours
--
Eric Doutreleau
I.N.T | Tel : +33 (0) 160764687
9 rue Charles Fourier | Fax : +33 (0) 160764321
91011 Evry France | email : [EMAIL PROTECTED]