/    Sign up×
Community /Pin to ProfileBookmark

IE vs. Firefox container lengths and footers

Hi,

First off, my XHTML and CSS are valid transitional.

IE is calculating a longer page length than Firefox and throwing off the placement of my footer. I’ve even broken the footer into two parts: footer and sub-footer.

The page is located at:
[url]http://new.mammacare.com/dev[/url]

The CSS is located at:
[url]http://new.mammacare.com/dev/base2.css[/url]

Any ideas what’s wrong or is this a common IE problem?

Thanks in advance!

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@WebJoelApr 06.2007 — I do not understand where the problem lies. but from your CSS I want to ask about this:

#frame>#footer {

clear: both;

text-align:center;

color: #8c0101;

font-size:12px;

width: 760px;

[B]min-height: 110px;[/B]

background: #fcecd4;
background-image: url(short_footer.gif);
background-repeat: no-repeat;


/* you can condense the above three lines into one line, like this:

background: #fcecd4 url(short_footer.gif) no-repeat;

*/

position: relative;

bottom: 0px;

left: 0px;

z-index: 0;
}[/QUOTE]
You know that IE does not understand the "min-height: " selector, -right? I think that there needs to be a "height:110px;" [I]after[/I] the "min-height:110px;" in order for IE to know what to do..
Copy linkTweet thisAlerts:
@vparqueApr 06.2007 — I do not understand where the problem lies. but from your CSS I want to ask about this:

You know that IE does not understand the "min-height: " selector, -right? I think that there needs to be a "height:110px;" [I]after[/I] the "min-height:110px;" in order for IE to know what to do..[/QUOTE]



Once you put "height:110px;" in the stylesheet, it will make min-height setting in non-IE browser meaningless.

Try doing this:

<i>
</i>min-height: 110px;
height: auto; !important
height: 110px;


This should fix the min-height problem.
×

Success!

Help @Gator_Developer spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...