Well, i'm really not sure about bottom: 0px. Perhaps it exists but i've never seen it. Bottom alignment is a common issue in CSS. There is two different way to do this: CSS only: position: fixed; top: 100%; height: 100px; margin-top: -100px; But well... there is a hell of a lot to say about fixed positioning with mobile browsers (read http://www.quirksmode.org/blog/archives/2011/12/position_fixed.htmlto get to the point)
Other solution if you know a bit of Javascript, you can use a fixed layout and put your contents inside an iScroll view. But then, detecting "real" available viewport height is even worse to deal with. Sorry, i don't really have one single bullet-proof solution for this... Remi On Thu, Nov 1, 2012 at 8:35 PM, Kimmax <kim.nuernber...@hotmail.de> wrote: > Hey, I just started using Google Adsense and I want to show my Ads on the > bottom of screen. > Normaly I just would use CSS and the "bottom: 0px" rule, but anyway it > isn't working. I also tried to use margin-bottom and I set the position to > relative too. > Here is an example what I get with the following CSS: > > <div style="position: relative; display: inline; height: 50px; >> background-color: transparent; bottom: 0px;"> >> > > > <http://puu.sh/1lhxl> > > Thank you for help, > > Kim > > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to iphonewebdev@googlegroups.com. > To unsubscribe from this group, send email to > iphonewebdev+unsubscr...@googlegroups.com. > Visit this group at http://groups.google.com/group/iphonewebdev?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to iphonewebdev@googlegroups.com. To unsubscribe from this group, send email to iphonewebdev+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/iphonewebdev?hl=en.