Forum Moderators: not2easy

Message Too Old, No Replies

Height issues with Mozilla

         

Nicky

4:42 am on Feb 17, 2004 (gmt 0)

10+ Year Member



I have set the heights for some of my containers so the bottom links actually appear at the bottom instead of half way up the page.

This causes a problem in Mozilla when the page is longer than these lenghts. Mozilla doesn't seem to extend the page down (if it contains a result table) and doesn't extend the side borders if it just contains text. Does anyone know how to fix this?

SuzyUK

10:25 am on Feb 17, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Nicky - Welome to WebmasterWorld

Moz is doing the right thing.. IE doesn't handle the overflow property (even at default state) correctly so it incorrectly stretches the div to fit.. effectively over-riding your height settings.

Footers can be elusive at the best of times ;)

How to fix it...

You could use min-heights for Moz.. and leave the heights "hacked" in for IE.. but without knowing your layout I don't know if that's the best in this case

Are Your columns floated or Absolutely positioned?

Do you know which column in the layout will always be longest?

No help really.. but maybe just rethinking/tweaking the layout might mean you don't need those heights..

try this thread [webmasterworld.com] it's a bit jumbled but it has some variations of layouts which require footers....each have their pros and cons..

Suzy

Nicky

6:31 am on Feb 18, 2004 (gmt 0)

10+ Year Member



Thanks. I'll try the min-height trick.