Solved: 6 Years, 9 Months, 1 Week ago add a fixed widget to my index page
#1
Solved: 6 Years, 9 Months, 1 Week ago
hi i want to add a widget that stay in its place even if we scroll up and down the page
Reply
#2
Solved: 6 Years, 9 Months, 1 Week ago
when adding the css attributes to the widget include "position: fixed;" to make it stick to its initial position, even while scrolling....
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Solved: 6 Years, 9 Months, 1 Week ago
can you give me aN EXAMPLE PLEASE

i manged to add a floating image to my index page
but i want it to be at the very bottom left

{$header}

<p>
<img src="http://i.imgur.com/tfhmIhP.png" alt="Happy new year" style="float:left;width:120px;height:180px;position:fixed;">
</p>
Reply
#4
Solved: 6 Years, 9 Months, 1 Week ago
(2014-12-29, 08:37 PM)Cleopatra Wrote: but i want it to be at the very bottom left

change the code as below.... that is add a bottom and left attribute to define its position...

<img src="http://i.imgur.com/tfhmIhP.png" alt="Happy new year" style="float:left; width:120px; height:180px; position:fixed; bottom: 0; left: 0;">
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#5
Solved: 6 Years, 9 Months, 1 Week ago
thank you it worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)