Well … what do you mean by "this code does not work" ? Image does not display or it does not show at the position you want?
Absolute position is always tricky on mobile screens, note that position: fixed is supported in iOS since iOS5 only. It also works pretty bad on Android until 2.3. But if it does not show at all, then you might add a display: block!important to #cornerImage. Le 22 janv. 2013 à 22:48, "Jeff (iUI Noob)" <[email protected]> a écrit : > Ok, I've been sucked in! I can't seem to stop playing with iUI. To date, I > have just built little personal webApps, but maybe one day I'll produce > something useful with it. > > So... I like to put a little image in my websites that is fixed in the bottom > right corner of the screen. The code I use is: > > [code] > <!-- Include Corner Image --> > <style type="text/css"> #cornerImage {position: > fixed;_position:absolute;bottom:0px;right:0px;} </style> > <div id="cornerImage" class="cornerImage"> <img src="CornerImage.png" alt="" > border="0"> </div> > [/code] > > This code does not work in iUI. I suspected that this would be the case due > to the way iUI handles DIVs, but I'm not sure where to start to work around > it. > Any thoughts? > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > 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 [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
