Bon, j´ai trouvé !
< html>
< head>
< style type="text/css" / >
body
{
text-align: center;
}
#fenetre
{
position: absolute;
overflow: hidden;
top: 250px;
left: 50px;
width: 400px;
text-align: center;
margin: auto;
background-color: #C0C080;
border: 3px inset;
}
#marquee
{
color: #002000;
padding: 0 5px;
text-align: center;
}
< /style>
< script type="text/javascript">
< !--
/ / pas de défilement :
var pas=2
/ / hauteur de la partie visible
var h_fen="300px"
function scrollmrq()
{
if ( parseInt(mrq.style.top) > -h_mrq )
mrq.style.top = parseInt(mrq.style.top)-pas+"px"
else
mrq.style.top=parseInt(h_fen)+"px";
}
function init_mrq()
{
mrq=document.getElementById("marquee");
fen=document.getElementById("fenetre");
fen.onmouseover=function()
{
stoc=pas;
pas=0
};
fen.onmouseout=function()
{
pas=stoc
};
fen.style.height=h_fen;
h_mrq=mrq.offsetHeight;
with ( mrq.style)
{
position="absolute";
top=h_fen;
}
setInterval("scrollmrq()",50);
}
window.onload=init_mrq
/ /-->
< /script>
< /head>
< body>
< div id="fenetre">
< div id="marquee">
< cite> Grâce à la balise html < /cite>
< /div>
< /div>
< /body>
< /html>
Reste une chose, je n´arrive pas à centrer le texte dans le cadre, malgré le " text-align: center;" !