I assume that when you say "position", you mean that it does not move when scrolling. In this case you can use:
p.className { position: fixed; bottom: 0; // for mobile devices top: 0; // for desktops }
Where the p element gets the class attribute as follows:
<p class="className">I am on the...</p>
bottom and top will not exist at the same time that you will need to download the appropriate based on the device. For the desktop, you will also need to compensate your content with a div height so that it is not hidden under a fixed div
Precastic Jun 14 '13 at 19:43 2013-06-14 19:43
source share