« Helping each other Forum

Floating image on profile

Posted by margot

posted

Forum: Helping each other

Heyy, so i'm new on here and i'm still learning the coding and everything. I've tried multiple time to put an floating image on my profile but it doesn't appear :( I have tried so much different coding method and copy and paste ones but i think i might be doing something wrong or maybe something is blocking the floating image? I honestly have no ideas, does someone have this problem, or know or to fix it?


Report Topic

1 Reply

Reply by Rekkit Bex

posted

if you want it to stay in the same place on the page use this code :

</style>

<div style="float:  ; max-width: 600px; height: auto; position: absolute; left: 690px; top: 200px; z-index: 200;"><img src="insert pic here"/></div>

u have to change the left and top pixels to get the position u want

 if you want it to stay in the same position no matter the scrolling use this :

<div style="float:  ; max-height: 400px; position: fixed; right: 25px; bottom: 15px; z-index: 200;">
<img src="insert image here" width="200"/></div>


and also u can use gifs if u dont want pics


Permalink Report Reply