Working solution (big thanks to Remi!)
<style>
#cornerImage {
display: block;
position: fixed;
top: auto;
bottom: 0px;
left: auto;
right: 0px;
width: 100px;
min-height: 60px;
}
</style>
<img id="cornerImage" src="cornerImage.png">
In iUI, all of the CSS declarations shown are necessary,
On Tuesday, January 22, 2013 2:48:28 PM UTC-7, Jeff (iUI Noob) wrote:
>
> 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.