₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,668 members, 8,427,506 topics. Date: Tuesday, 16 June 2026 at 05:07 AM

Toggle theme

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

Nairaland ForumScience/TechnologyWebmastersNeed Help Positioning An Img To Be Fixed On The Page (785 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 FixedForce Footer At The Bottom Of The PageIncrease Your Adsense Earnings By 400% Using This Ads Positioning234

13 Reasons Why Blog Ads Are A Silly Monetization Strategy And What To Do InsteadHappy! My Blog Just Got Adsense Approved!!!How To Identify The Gender Of Your Twitter Followers