hello everyone, as my last question was answered inmediatly.. i decided to post a new one which is taking all my hair away, XD
this is the problem..
i have a design with an absolute positioned div.. which has a transparent png and a simple anchor... just like this.
<div class="buyfloat">
<img src="img/buy.png" />
</div>
so.. i need this div.buyfloat positioned at an absolute position... not moving around.. no jumping no fading.. i just need it at 200px from the very bottom of the page... because i need it just on the top of my footer.. and as the heigh of the pages increases or decreases.. i can´t use top selector.
well.. "use bottom!" you may say.. yes sir i tried.. but for some kind of reason.. the bottom selector uses the window height (visible part) instead the whole thing.. and.. if i scroll the page down.. the image is right in the middle of the page.
.buyfloat{
width:333px;
height:135px;
position:absolute;
left:10px;
bottom:200px; /** not working **/
margin:5px auto 0 auto;
z-index:99;
}
i'm looking for some javascript (i think i saw one sometime ago) that gives me the body height right on the css.. but if you have any different and easier solution.. i'm all ears!
thanks in advance.