quigs1969
07-27-2011, 12:23 AM
Hi Folks,
I have been designing the layout for a local history site and I thought I would try using div tags and pure css to create the site instead of the usual tables.
I tried to design it with different screen resolutions in mind and used includes to bring in the header and footer in to join the body of the page, this seemed to be going ok, I had everything in the right place and the resolution was changing when I maximised and minimised it.
If I insert an image into the contents that fits in between my header and footer as long as it is below 800x600 everything is ok (my monitor is 1280x1024) 800px high is what is left when I take the header and footer off, you can see this at http://www.acumfaegovan.com
CSS can be found here Common CSS (http://www.acumfaegovan.com/style/common.css) and here Header and footer CSS (http://www.acumfaegovan.com/style/headfoot.css)
However when I add an image and content that is greater than 800px high it goes behind my footer and I could not see it I added overflow:scroll and it lets me scroll down to the content but the footer does not push down with the contents and seems fixed to my screen resolution.
Is there a way I keep the footer pushing down as I scroll down the contents? how can I do this without losing fluidity?
You can see the problem the of content and footer here http://www.acumfaegovan.com/govan.php
CSS can be found here Common CSS (http://www.acumfaegovan.com/style/common_new.css) and here Header and footer CSS (http://www.acumfaegovan.com/style/headfoot_new.css)
Please help, I have put a lot of hours into this and I do not want to give up and go back to tables.
Colin
I have been designing the layout for a local history site and I thought I would try using div tags and pure css to create the site instead of the usual tables.
I tried to design it with different screen resolutions in mind and used includes to bring in the header and footer in to join the body of the page, this seemed to be going ok, I had everything in the right place and the resolution was changing when I maximised and minimised it.
If I insert an image into the contents that fits in between my header and footer as long as it is below 800x600 everything is ok (my monitor is 1280x1024) 800px high is what is left when I take the header and footer off, you can see this at http://www.acumfaegovan.com
CSS can be found here Common CSS (http://www.acumfaegovan.com/style/common.css) and here Header and footer CSS (http://www.acumfaegovan.com/style/headfoot.css)
However when I add an image and content that is greater than 800px high it goes behind my footer and I could not see it I added overflow:scroll and it lets me scroll down to the content but the footer does not push down with the contents and seems fixed to my screen resolution.
Is there a way I keep the footer pushing down as I scroll down the contents? how can I do this without losing fluidity?
You can see the problem the of content and footer here http://www.acumfaegovan.com/govan.php
CSS can be found here Common CSS (http://www.acumfaegovan.com/style/common_new.css) and here Header and footer CSS (http://www.acumfaegovan.com/style/headfoot_new.css)
Please help, I have put a lot of hours into this and I do not want to give up and go back to tables.
Colin