I’m in the process of coding up my second theme…and having a little stumbling block with the footer. Basically i have a sidebar and a main column structure…and the main column is absolutely positioned (due to the design of the theme).
The problem is the footer. I want it to sit underneath both the sidebar and main column (which ever is tallest)..but because my main content in positioned absolute when it is taller than the side bar the content overlaps.
You can see a demo here where i’ve demonstrated the problem. www.demo.adamrobinson.cc/wave
i know all about position:absolute being taken out the ‘flow’ but hope there’s a solution
You don’t need
position:absolute;set a width to the sidebar – float it to the left, set a width to the maincontent and float it to the right then play around with margin. That’ll do the work. I never ever use the positioning property for this. Remember to clear the elements.
Hope that helps.
In my experiences, you can’t do much when it’s set to an absolute position. Why not float it then clear it in a div before your footer div?
right ill give that a shot
right ill give that a shotNice theme btw good luck.
thanks ipad. got quite a bit of work to do on it yet. think ive solved the problem now. thanks for the help. dont know why i didnt try that in the first place.
better still… research and select a grid system (especially for fast, clean theme development where you dont need something specific for a development).. and utilize it’s framework to get the desired layout.. cross browser compatible, clean.. easy to modify.