Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,193,880 members, 7,952,592 topics. Date: Wednesday, 18 September 2024 at 06:45 PM

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 (710 Views)

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)

(1) (Reply) (Go Down)

Need Help Positioning An Img To Be Fixed On The Page by FincoApps(m): 5:05pm On Dec 19, 2015
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(m): 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(m): 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(m): 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)

Get Etisalat 1GB Internet Bundle For N500 Only / How To Hide Files/Folders On Your Android Without Any Application / Website Designer Needed

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 12
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.