Forum Moderators: not2easy

Message Too Old, No Replies

Min height for a div block.

Does that exists?

         

fischermx

3:42 am on May 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Sorry for my ignorance, but I'm not sure I'm asking something obvious.

I have a page that have a list of topic, directory-like, then, when click on the category, the topics are removed and a result list is displayed.
It works fine except, when the list is a few items, my copyright statements and all the footer stuff goes up at mid page and looks bad.
How can I "guarantee" a minimum length for a div?

flashfan

3:54 am on May 28, 2005 (gmt 0)

10+ Year Member



You may put footer and disclaimer in a seperate div {display:block}

fischermx

4:38 am on May 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



They are already in a separate div. But there's another div with the results, when the results are small, then the footer appears in a higher position, below to the results.

createErrorMsg

11:18 am on May 28, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Run a search for "sticky footer" and you should get plenty of reading material on this. There's no "perfect" solution, but several members here have come up with alternatives that are not too kludgy. For instance, Lance posted a good one in this thread [webmasterworld.com]. Also message #4 in this thread [webmasterworld.com].

cEM