I would appreciate if someone could help. One of my pages is not displaying correctly and I would like to find out why. Basically the footer should be 100% like the rest of the pages and when I add a border around the #snapshot & #project-info div’s (main content area) the border does not wrap the expected content area. I assume its something to do with the layout?
I can’t quite see what the problem is. Looking in FireFox, everything looks as I’d expect it to. Could you elaborate a bit, or post a screen shot of what you expect to see?
Basically if you look at the footer it sould be 100% width of the screen as opposed to just the content area. Not sure why it’s changed as the rest of the pages are fine.
My other prob was that when I put a red border around the two DIV’s outlined earlier, the border wasnt wrapping the correct content area. For example my DIV “snapshot” has a border called but the border is at the top - it should be around the two smaller images @ the bottom.
Hm, yes, somehow the footer jumps inside the wrapper on that page. Perhaps try validating the page first to see if there’s anything obviously out of place. The code on that page has a very weird flow, and I can’t even see why the red border appears where it does.
The problem with the snapshot is that you a) haven’t cleared the floats above and b) haven’t contained the floats within and c) used height:100% which can’t really be used at all and d) you have added borders to 100% wide element making it too big.
(See the faq on 100% height and as to why it’s of no use to you other than when hacking ie6)
What was the issue with the footer again? It looks at 100% to me. I set the background to red and it stretches all the way across. Or did I miss something.
If you wanted a border around the elements then you’d need to reduce (or remove) the width. IE6 would need hasalyout though in order to clear the floated children (zoom:1.0 or apropriate pixel width).