I’m trying to do the following. Create a website with a static top (Header) and article area in the middle and a sticky footer with the navigation controls. My challenge is the following. I want the controls to at the bottom of the page at all time, so in case one rescale the browser / open the page at different resoullution it is only the article area that is resized …. I have not been able to solve this / or seen a page that is doing this.
I want a static header of 100px, a static footer of 150px and an article area of window.innerHeight – footer – header
I have seen a lot of page with static footers, but all for all of them you have to browse to the bottom of the screen for it so be seen. I want mine to shown in the bottom of the screen at all times.
Any help will be much appreciated.
Resize body according to screen resolution using HTML5 and CSS3
4.3k views Asked by Claus Løppenthien At
2
There are 2 answers
Related Questions in HTML
- How to store a date/time in sqlite (or something similar to a date)
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- Is there any way to glow this bulb image like a real light bulb
- With non-graphical maps in Leaflet, zoomDelta doesn't work
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- Displaying a Movie List on a Website Using Jinja2 and Bootstrap
- How to redirect to thank you page after submitting a Google form embedded into a Google Site?
- Storing selected language in localStorage
- Fences (parenthesis, braces) in HTML and MathML
- Understanding Scroll Anchoring Behavoir
Related Questions in CSS
- How to use custom font during html to pdf conversion?
- Storing the preferred font-size in localStorage
- mp4 embedded videos within github pages website not loading
- Is there any way to glow this bulb image like a real light bulb
- What can I do to improve my coding on both html and css
- Uncaught TypeError: google.maps.LatLng is not a constructor at init (script.js:7:13)
- Bootstrap modal not showing at the desired position on a web page when the screen size is smaller
- How to increase quality of mathjax output?
- Hover animation resetting( seemingly reverting back to original CSS and then again to hover)when moving mouse horizontaly accross a part of an element
- Storing selected language in localStorage
- How to clip grid cell and provide scroll as well?
- KeyboardAvoidingView makes a messy the flexbox
- Rotate an object around another object in javascript
- Understanding Scroll Anchoring Behavoir
- how to use only block layout in this css code?
Related Questions in RESIZE
- Change back to default font size in Android Studio
- Change the maximum screen size icon (and variable) by dragging the TitleBar
- Java resized JPEG seems to be invalid format for Facebook?
- I can't handle resize and transform with jquery
- Excel VBA Macro Resizing the Plot Area
- How to disable dragging while resizing a card using the @dnd-kit/core library in React?
- How to resize maximized child window programmatically
- CSS - making an element short on its own
- JavaFX dynamically resizes window based on the amount of VBox elements
- How can I get the width and height of a GUI window in AHK?
- Image won't resize when live but ok in Visual studio code
- QOpenGLWidget with Qpainter: OpenGL drawing only visible after first paintGL call
- ResizeObserver callback is not being fired when rotated device two times
- Addition of one 4-bit and one 3-bit inputs in VHDL
- How to resize circle div dynamically?
Related Questions in RESOLUTION
- Android: How to scale a bitmap to fit the screen size using canvas?
- Dynamic Resolution Fix to NuxtJS Download Page
- Can uvc-gadget can go up to 4K on a Rasperry Pi 4B?
- How can I fix @media max-width issue in html and CSS?
- Problem with Excel Userform resolution - Text and image enlargement
- How Can I Increase The Resolution Of My Icon In My GUI Window?
- Meaning of PPI (Pixel Per Inch)
- Create gif from tiff images and preserve resolution using PIL
- What is difference between screen size and pixel size?
- How can I adjust aspect ratio on Mi TV Box 2 when projecting content from the side of the room?
- How to stop a numerical resolution of a differential equation with a certain condition
- Is there a possibility to render parts of the screen at lower resolution?
- Godot physics resizing my sprites at runtime
- How to change window size at runtime using Rust and SDL2?
- Formula for converting XY pixel coordinate in 1920x1080 to 1366x768
Related Questions in STICKY-FOOTER
- sticky footer and paginator in mat-table
- Sticky footer covering content and not sticking to the bottom of the page when scrolling
- Sticky Footer and Bleeding Image
- Sticky component above bottom tab navigator
- media print query with report header and sticky footer divs
- how to make Youtube mainView like sticky header view
- mmenu Wrapping All Body Elements Instead of Page Selector
- Preventing scroll with 100% body height when the virtual keyboard's open?
- How to place a sticky bottom row/bar at ModalBottomSheet using jetpack compose
- ASP.NET Core Razor Pages _Layout.cshtml.css not applied
- Sticky footer in MainLayout
- Avoid scrollbars next to sticky part
- How to add sticky footer in admin template 5.3.0
- Android Chrome's url prefetch breaks page height (and thus sticky footer)
- Paypal button over on sticky
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
In xhtml http://jsfiddle.net/DWMHr/