Position fixed puts the DOM element out of the flow. Being out, it can't inherit from other to set its box model parameters. That's why it's trying to set its width based on its content rather than full width. Forcing full width do the job. Then you get a z-index issue so you have to increase it too. Code could be <div class="toolbar" style="width:100%;position:fixed;z-index:99"> Working exemple: http://jsfiddle.net/VK374/ Remi
Thank you for your reply. And thanks for informing about the footer. I've already tried position fixed and that is breaking the style. Like this http://jsfiddle.net/LkgpX/240/
-- On Wednesday, April 16, 2014 5:30:55 PM UTC+6, Remi Grumeau wrote:
You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to iphonewebdev+unsubscr...@googlegroups.com. To post to this group, send email to iphonewebdev@googlegroups.com. Visit this group at http://groups.google.com/group/iphonewebdev. For more options, visit https://groups.google.com/d/optout. You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to iphonewebdev+unsubscr...@googlegroups.com. To post to this group, send email to iphonewebdev@googlegroups.com. Visit this group at http://groups.google.com/group/iphonewebdev. For more options, visit https://groups.google.com/d/optout. |
- Demo Image like footer and fixed header - iUi Atanu Shome
- Re: Demo Image like footer and fixed header - iUi remi . grumeau
- Re: Demo Image like footer and fixed header - iUi Atanu Shome
- Re: Demo Image like footer and fixed header - ... remi . grumeau
- Re: Demo Image like footer and fixed heade... Atanu Shome