ti posto il codice
codice:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15" />
<link href="stili.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="news">
<div id="newstop" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></div>
<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
<div id="vmarquee">
codice asp che stampa le news </div>
</div>
<div id="newsbottom" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></div>
</body> ecc. ecc.
gli stili:
codice:
#news{
width:602px;
margin:0px auto;
clear:both;
}
#marqueecontainer{
position: relative;
width: 580px; /*marquee width */
height: 110px; /*marquee height */
overflow: hidden;
border-left: 1px solid #a0b7d2;
border-right: 1px solid #a0b7d2;
padding:10px;
background-image:url(Immagini/fondonews.gif);
background-repeat: no-repeat;
text-align:left;
margin:0px auto;
}
#vmarquee{
position: absolute;
width: 96%;
}
#newstop{
width:602px;
height:15px;
background-image:url(Immagini/newstop.gif);
background-repeat:no-repeat;
}
#newsbottom{
width:602px;
height:15px;
background-image:url(Immagini/newsbottom.gif);
background-repeat:no-repeat;
}
sia newstop che newsbottom su ie6 hanno come un margin-bottom