Код:
<!--HTML-->
<script type="text/javascript">
function move(id,spd) {
var obj=document.getElementById(id);
var max=-obj.offsetHeight+obj.parentNode.offsetHeight;
var top=parseInt(obj.style.top);
if ((spd>0&&top<=0)||(spd<0&&top>=max)){
obj.style.top=top+spd+"px";
move.to=setTimeout(function(){ move(id,spd); },20);
}
else obj.style.top=(spd>0?0:max)+"px";
}
</script>
<style type="text/css">
.faq2 { width: 620px; height: 800; margin-left: -3px; padding-top: 120px; padding-bottom: 30px; display: ; background: url(http://funkyimg.com/i/2ffi3.jpg) top no-repeat, url(http://funkyimg.com/i/2ffi4.jpg) bottom no-repeat, url(http://funkyimg.com/i/2ffi5.jpg) repeat-y;}
#rt1 img { float: right; margin: 0 2px 1px 0; border: 1px solid #D8EAC2; padding: 0px; width: 80px; }
#rt2 img { float: left; margin: 0 2px 1px 0; border: 1px solid #D8EAC2; padding: 0px; width: 80px; }
</style>
<center>
<div class="faq2">
<br>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<center>
<div style="width: 450px; background: #; padding: 20px; margin-top: -123px;">
<div style="font-family: lobster; font-size: 35px; color: #BE81F7; margin-left: -244px; line-height: 70%;">Объявления от администрации</div>
<div style="width: 165px; height: 8px; background: #DA81F5; border-left: 80px solid #380B61; border-right: 150px solid #6A0888; margin-left: -158px;"></div>
<div style="width: 500px; height: auto; font-family: Cuprum; font-size: 14px; line-height: 95%; color: #3b3b3b; overflow: ; text-align: justify; padding-top: 51px; margin-bottom: -15px; margin-left: -30px;">
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,700italic' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Lily+Script+One' rel='stylesheet' type='text/css'>
<center>
<center><img src="http://funkyimg.com/i/2ix2F.png">
<br>Дорогие друзья добро пожаловать в инстаграм от АМС.
<br>Не пропускайте новостей и будьте в курсе всего, что происходит в нашей академии! </center>
<br>
</div>
<br><br><br><br>
</div></center>
Для АМС









