So you want to keep your facebook like button fixed in one spot on your page?
There are many ways to skin a cat and do this in CSS. I am showing you my take on it.
Your code should look something like this:
<div class="likeButton"><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%
2F%2Fwww.facebook.com%2Fpages%2FMiami-FL%2FMiamiwebzcom%23%21%
2Fpages%2FMiami-FL%2FMiamiwebzcom%
2F173211482688856&layout=box_count&show_faces=true&width=4
5&action=like&font=lucida+grande&colorscheme=light&hei
ght=65" scrolling="no" frameborder="0" style="border:none;
overflow:hidden; width:45px; height:65px;"
allowTransparency="true"></iframe></div>
Step 2. Create a CSS class called likeButton.
The code should look like this:
.likeButton {
position: fixed;
right: 0px;
height: 0;
top: 300px;
}
That is all it takes to create a fixed position element such as a like button or anything else using CSS.
ConversionConversion EmoticonEmoticon