June 4, 201313 yr Hi there, http://jsfiddle.net/d5q9k/ I've got this site using Bootstrap with a fixed header, footer and centered content - and have two questions. 1) Is this the correct way to go about doing this? I've read enaldess forums with different views on wether of not fixed posisions are a good idea. However, after testing this in many ways using emulators and all the devices I could get hold of, it's worked perfectly fine. (Plus it's using existing styles from Bootstrap, they even have a template exactly for this) so just for clarity, is what I've done an acceptable way of doing this? 2) When the screen gets really small (Iphone landscape for example) the header and footer are showing above the content. I've spent a while trying to figure out this header and footer, just wondering if anyone knew a quick fix without me having the re-build the whole thing? I get the feeling I may have to rebuild this using something along the lines of this - http://code.google.com/p/cleanstickyfooter/ - but hoping I can salvage what I've done so far if possible. Thanks. Edited June 4, 201313 yr by Meh
June 6, 201313 yr Author http://artprima.eu/777-how-to-vertically-center-div-content-and-add-a-sticky-footer-at-the-same-time.html Solution.
June 7, 201313 yr Fixed elements can be a great idea if they are used correctly. They can be disastrous when poorly designed. I only use fixed elements like a sticky nav if I think it will add to the UX. Do your homework on your target audience, what you wish to achieve from the site and whether or not fixed elements will work or leave your audience confused. An example of good use of fixed elements is Facebook.
Create an account or sign in to comment