I want to show a div which is always visible even as the user scrolls the page. I have used the CSS position: fixed; for that.
div
position: fixed;
Now I also want
Just do this. It doesn't affect the horizontal position.
.test { position: fixed; left: 0; right: 0; }