Jump to content

Make an image show or float


mbp

Recommended Posts

What is the easiest way to insert an image as displayed on my picture?

 

Have tried adding an div in layout.tpl but the place of the picture moves and lies over the header if i preview the page from low resolution browser.

post-297078-0-76135200-1383931500_thumb.jpg

Link to comment
Share on other sites

the easiest way: html box free + code like:

<div style="width:30px; height:100px; display:block; position:fixed; right:0px; top:100px; background:none;">
    <a href="http://www.facebook.com/MyPresta" style="background:none;" target="_blank">
        <img src="http://mypresta.eu/content/uploads/2013/03/howtofacebookbutton.png" style="background:none;">
    </a>
</div>

take a look here: floating advertise image

 

you can of course change position of the floating image with css styles, just manipulate values in params: right:0px; / top:100px;

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...