Need a solution to fix a problem of height.
# July 9, 2013 at 11:08 am
I hope you all are fine as this is my first discussion here and i would be happy if i get a solution to fix my problem.
I am working for one of my freelancing project and the thing is i am getting a problem with a middle division. as its affecting it with footer so how can i set my middle (wrapper) dynamically…
can any one please help me with this. What CSS can i use instead of height.# July 9, 2013 at 11:38 am
Best I can tell if your footer is affecting your div that is not in the footer, then you need to separate the two. If you want a fixed footer on every page as Paulie_D asked then put it in its own footer div and give it a; position: fixed; and set your ‘top’ and ‘left’ properties accordingly. Then your footer will be constant and your main content can change. as far as height goes, make sure your using the box model correctly with your padding and margins then say either height: (insert px, em, or %), or max-height: (insert px, em, or %). I hope this helps. As a new poster like yourself I find it very helpful to use codepen and link to your problem page if possible so that people understand your question better.
You must be logged in to reply to this topic.