Click to See Complete Forum and Search --> : Position Fixed Issue


theflyingminst
03-02-2009, 11:53 AM
Hi. No matter what I do I can't get this flippin' div to the bottom right of the screen -- it' just keeps going to the top-middle. I'm goin' bananas, any help would be greatly appreciated.


<style type="text/css">
.hide {
display:none;
}
.show {
display:block;
}
</style>

<div style="position:fixed; right:30px; bottom:26px;" class="default hide hideshow" >
<a style="color:blue; font-size:12px; text-decoration:none;" href="#" onclick="zxcHideShow('hideshow',1,1);">show</a>
</div>

Thank you

Fang
03-02-2009, 12:01 PM
Do you have a valid DTD (http://www.w3.org/QA/2002/04/valid-dtd-list.html)?

theflyingminst
03-02-2009, 12:23 PM
Thanks Fang, yeah it's:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Fang
03-02-2009, 01:26 PM
Can you give a link?

theflyingminst
03-02-2009, 02:06 PM
Hey I ended up positioning it with Javascript. It was driving me crazy.

Thanks