Can't fix page layout in HTML and CSS -


hi i've got website up.

i'm no0b learn fast , learn go.

however in 1 of pages...the footer has gone close header. want area between header , footer fixed. i've tried changing height of main content in css doesn't seem work. front main page ok. it's me page i'm having difficulty with. want space between header , footer fixed regardless of what's between them.

i use:

#site_content {     width: 950px;     overflow: hidden;     margin: 10px auto 0 auto;     padding: 10px; } 

screenshot of page

thanks help.

hey replace footer code below code

css

footer { width: 100%;             /* make width 100% changes done*/ font: normal 100% arial, sans-serif; padding: 50px 20px 5px 0; text-align: right; background: transparent; position: fixed;            /*changes done*/ bottom: 0;                 /*changes done*/ top: auto;                /*changes done*/ text-align: center;       /*changes done*/ } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -