Rp 20.000,-
What About Fixed Positioning?
Fixed positioning is a lot like absolute positioning. The position of the element is calculated in the same way as the absolute model - from the sides of the view port. But fixed elements are then fixed in that location, like a watermark. Everything else on the page will then scroll past that element.position: fixed;
Keep in mind, when you fix an element in place on your site, it
will print in that location when your Web page is printed out. For
example, if your element is fixed at the top of your page, it will
appear at the top of every printed page - because it's fixed to the top
of the page. You can use media types to change how the printed pages display fixed elements:@media screen {
h1#first { position: fixed; }
}
@media print {
h1#first { position: static; }
}
