align div right with position fixed
Posted
by Pradyut Bhattacharya
on Stack Overflow
See other posts from Stack Overflow
or by Pradyut Bhattacharya
Published on 2010-05-13T19:24:00Z
Indexed on
2010/05/13
19:34 UTC
Read the original article
Hit count: 320
Hi
i want to show a div which is always visible with the user as the user scrolls the page
are there any javascript solutions??
i have used the css position:fixed;
Now i want to show the div at the right hand corner of the parent div
i used the css
.test {
position: fixed;
text-align: right;
}
but that doesn't work with position:fixed;
For that i used the css but i think nothing works on the top of postilion fixed
My example page here
the div i want to align is "test" under the parent class "parent"
Is there any solution or any other javascript solution to this...
thanks
Pradyut
India
© Stack Overflow or respective owner