Sol tarafta sabit reklam.(Bunu Sağ tarafada aktarabilirsiniz.)
Örnek : www.bilgiistiyorum.com
Kullandığınız Temanın içerisinede" .css " style dosyasına atabilirsiniz istersenizde
kullanmak istediğiniz
baslik.html veya
index.html dosyasının en altına yapıştırın.
Aşağıda kod devamında Neden ? baslik.html ve index.html farkı yazmaktadır.
<style type="text/css">
#fixme { position: absolute; left: 0px; top: 0px; }
#fixmetoo { position: absolute; right: 0px; bottom: 0px; }
div > div#fixme { position: fixed; }
div > div#fixmetoo { position: fixed; }
pre.fixit { overflow:auto;border-left:1px dashed #000;border-right:1px dashed #000;padding-left:2px; }
</style>
<!--[if gte IE 5.5]><![if lt IE 7]>
<style type="text/css">
div#fixme {
left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}
div#fixmetoo {
right: auto; bottom: auto;
left: expression( ( 0 - fixmetoo.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
top: expression( ( 0 - fixmetoo.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}
</style>
<![endif]><![endif]-->
Bunlarıda tüm sayfalarda görünmesini istiyorsanız.
baslik.html dosyasına eğer ki sadece ana sayfada görünmesini isterseniz
index.html
<div id="index">
<div id="fixmetoo">
<a href="http://www.bilgiistiyorum.com/forum/k819-bilgi-istiyorumcom-a-yoneticiler-alinacaktir.html"><img src="http://www.bilgiistiyorum.com/dosyalar/bi_basvuru.png" width="485" height="52" border="0"></a>
</div>
</div>