Sometimes in our web pages we want something that can always be seen in our page even when we scroll it down. Like for example the footer, the sidebar or maybe a link for your comment box. With this script you will learn how to do it.

Code:

Html tags are here.

<style>

#box{

background-image:url(mark.bmp);

float:left;

margin-top:45%;

margin-bottom:45%;

height:10%;

width:5%;

border-radius:15px;

-moz-border-radius:15px;

position:fixed;

}

To be able to make the id be seen every time you need this code.

position:fixed;

Look at the left side of christianbautista.info page you’ll see how it works.

This is the print screen.

Share on Google+Tweet about this on TwitterShare on FacebookShare on TumblrShare on StumbleUponPin on PinterestShare on LinkedInDigg thisShare on RedditEmail this to someone