Home › Forums › CSS › Moving window › Re: Moving window
February 18, 2009 at 2:16 pm
#53941
Member
"mcgyver47" wrote:
Hi Box,
Thanks for clue but could you explain a little more
Tell me if I am correct
create a
<div id="fixedwindow">
Et prima post Osdroenam quam, ut dictum est, ab hac descriptione discrevimus, Commagena, nunc Euphratensis, clementer adsurgit, Hierapoli, vetere Nino et Samosata civitatibus amplis inlustris.
</div>
CSS
div#fixedwindow {
position: fixed
top= 120px;
right=200px;
border: 1px solid black;
background: red;
}
It will be fixed regarding which part of browser window ??
I am going to give it a try !
Thanks for help
Jean from France
Thanks for clue but could you explain a little more
Tell me if I am correct
create a
<div id="fixedwindow">
Et prima post Osdroenam quam, ut dictum est, ab hac descriptione discrevimus, Commagena, nunc Euphratensis, clementer adsurgit, Hierapoli, vetere Nino et Samosata civitatibus amplis inlustris.
</div>
CSS
div#fixedwindow {
position: fixed
top= 120px;
right=200px;
border: 1px solid black;
background: red;
}
It will be fixed regarding which part of browser window ??
I am going to give it a try !
Thanks for help
Jean from France
give it a try in and outside other divs, but change your id to a class, to see how it works