PDA

View Full Version : scrolling code



alexdog1805
10-31-2008, 11:46 AM
i made a web site in dreamweaver and i want to put a scriptand include in it an advertise script and when i scroll down the page that advertise ads follow down:) do you know how i do this?:) thanks

Nile
10-31-2008, 11:57 AM
Here, you should beable to change this into your wants:

<html>
<head>
<style type="text/css">
#div1 {
position:fixed;
width: 200px;
height: 200px;
border: 1px solid black;
background: lightgreen;
}
* html #div1{
position: absolute;
background: bahh;
}
</style>
</head>
<body>
<div id="div1"></div>
</body>
</html>