Forum Moderators: not2easy

Message Too Old, No Replies

clearing divs

         

iflyjetz

5:29 pm on Sep 12, 2009 (gmt 0)

10+ Year Member



I had this problem before and I believe it was solved by floating or clearing my divs.

Basically I am using the coda slider technique for a very simple site.

The first div (page) only has the logo.

The second div (page) has a long list of information about the company.

The problem is that the footer is sitting way way down the page on the pages where the information is quite short. ie lots of blank space.

Any ideas or suggestions as to how i can remove all this blank space on the pages that have very little info?

I would love to be able to post a link to see it but thats not allowed it seems!

D_Blackwell

5:46 pm on Sep 12, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The problem is that the footer is sitting way way down the page on the pages where the information is quite short. ie lots of blank space.

Any ideas or suggestions as to how i can remove all this blank space on the pages that have very little info?

Sounds like a height: declaration that 'works' on the 'long' pages, but makes the short pages long as well also.

Strip the HTML/CSS down to the problem itself. The solution may then be obvious. If not, post the relevant code (preferably 'test ready') and we'll see what's what.

Sabrina

7:00 am on Sep 29, 2009 (gmt 0)

10+ Year Member



Don't limit the length of <div> tag style.