June 17, 201115 yr Started doing my site again, and need to change fonts, but the layout is breaking. I have a sticky footer code and have gone with faux columns style layout. I have used a 1px horizontal graphic in a div to be the background content of the 'content wrapper inner'. The aim of this is to repeat straight down to the footer. However, there is a gap better above the footer. You can't see the footer (as I've not coded it fully - just the basic positioning), but it is there and appears to be sticking at the bottom. Also, in conjunction with this, the 'content' div is protruding out of the 'content wrapper inner div' as a result of adding a secondary class 'content box'.If I remove the second content box the site looks fine. Anyone tell me what I am doing wrong or have missed. Many thanks. Okay, I hav added overflow:hidden and height: auto to fix this, but that totally destroys the div in Dreamweaver. Is there anything in existing code that doesn't look right or out of place? Whilst Dreamweaver is not that important I don't see why the problem is arising. Okay, in dreamweaver 'content wrapper inner' is being very weird. If I have height: 900px, the layout is fine. However, that's not proper so I should use 'auto' instead? Seems now to work in sites I have tried this in with 'auto'. However, the div disapear totally in Dreamweaver if I have height: auto selected on this div. *edit* I've added a clear so I think I've now fixed this. Just need to check on previous version of IE and others. Edited June 17, 201115 yr by jpw1984
Create an account or sign in to comment