₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,503 members, 8,512,206 topics. Date: Tuesday, 03 November 2026 at 04:31 AM

Toggle theme

Need Help Positioning An Img To Be Fixed On The Page - Webmasters - Nairaland

Nairaland Forum › Science/Technology › Webmasters › Need Help Positioning An Img To Be Fixed On The Page (819 Views)

1 Reply (Go Down)

Need Help Positioning An Img To Be Fixed On The Page by FincoApps(op):
Please webmasters, I'm having a strange issue with a phonegap app. I have an advert I want to fix permanently to the bottom of the page but it doesn't work on any of the devices I tried it with. It only works on a computer browser

This is my markup
<img src="img/add.jpg" class="ads"/>

This is the css
.ads
{
width: 100%;
position: fixed;
bottom: 0px;
-webkit-backface-visibility: hidden;//got this suggestion from a site but it failed
}

It works well on pc but scrolls on mobile.... any suggestion would be appreciated.

dhtml, pcguru, and other webmasters I believe this would be easy for you
Re: Need Help Positioning An Img To Be Fixed On The Page by Nobody: 5:44pm On Dec 19, 2015
this one pass me
Re: Need Help Positioning An Img To Be Fixed On The Page by onyengbu: 5:45pm On Dec 19, 2015
FincoApps:
Please webmasters, I'm having a strange issue with a phonegap app. I have an advert I want to fix permanently to the bottom of the page but it doesn't work on any of the devices I tried it with. It only works on a computer browser

This is my markup
<img src="img/add.jpg" class="ads"/>

This is the css
.ads
{
width: 100%;
position: fixed;
bottom: 0px;
-webkit-backface-visibility: hidden;//got this suggestion from a site but it failed
}

It works well on pc but scrolls on mobile.... any suggestion would be appreciated
Why not put the image inside the div - .ads rather than give the image the class name.
Re: Need Help Positioning An Img To Be Fixed On The Page by FincoApps(op): 6:05pm On Dec 19, 2015
onyengbu:
Why not put the image inside the div - .ads rather than give the image the class name.
I doubt that will that make a difference, but I will try that now. Thanks grin
Re: Need Help Positioning An Img To Be Fixed On The Page by Afam4eva(m): 12:02pm On Feb 16, 2016
Which mobile browser are you trying it on?
Re: Need Help Positioning An Img To Be Fixed On The Page by FincoApps(op): 4:43pm On Feb 16, 2016
Afam4eva:
Which mobile browser are you trying it on?
Was creating an Hybrid app. I found a solution already

Thanks smiley
Re: Need Help Positioning An Img To Be Fixed On The Page by Afam4eva(m): 4:54pm On Feb 16, 2016
FincoApps:
Was creating an Hybrid app. I found a solution already

Thanks smiley
Ok. Cool.

Btw, how is Vacoas and Quatre Borne? grin
Re: Need Help Positioning An Img To Be Fixed On The Page by FincoApps(op): 7:17pm On Feb 16, 2016
Afam4eva:
Ok. Cool.

Btw, how is Vacoas and Quatre Borne? grin
Lol which Afam is this cheesy
1 Reply

Adsense back In Business. All Error Fixed • Force Footer At The Bottom Of The Page • Increase Your Adsense Earnings By 400% Using This Ads Positioning • 2 • 3 • 4

March 2017 Web Design/development Class At YEMLAT @ Awesome Price • Help - How Can I Make My Google Adsense To Look Like This? Photos Attached • Want to be a Part of a Big & Popular Tech Blog?... You love tech? Write Tech!!