Thanks Dave, tried it, but still looks like its more IE friendly.

The intent of the footer div was to remain just 10px above the bottom edge
of the screen when the content div is empty.  However, if the content is
larger that the viewing area, then it is bottom padded 50px to the footer.



> -----Original Message-----
> From: Dave Lyons [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 24, 2006 2:05 PM
> To: CF-Talk
> Subject: Re: SOT: Better IE/FF DIV Footers
> 
> use clear:both instead
> 
> #footer {
>    clear:both;
>    bottom: 10px;
> }
> 
> 
> 
> 
> 
> >Hello Top 100's!  ;-)
> >
> >I was wondering if anyone knows of a more elegant way of doing footers.
> As
> >you can see below, I'm using CF to assist in compensating for IE/FF
> height
> >vs. min-height difference.  Any recommendations will be appreciated.
> >
> >Michael
> >
> >----
> >
> >CSS:
> >
> >#container_ie {
> >
> >            position: relative;
> >
> >            height: 100%;
> >
> >}
> >
> >
> >
> >#container_ff {
> >
> >            position: relative;
> >
> >            min-height: 95%;
> >
> >}
> >
> >
> >
> >#content {
> >
> >            padding-bottom: 50px;
> >
> >}
> >
> >
> >
> >#footer {
> >
> >            position: absolute;
> >
> >            bottom: 10px;
> >
> >}
> >
> >
> >
> >----
> >
> >CFM page:
> >
> ><div id="container_#getUserBrowser()#">
> >
> ><div id="content">
> >
> >            .cf code.
> >
> ></div>
> >
> ><div id="footer">
> >
> >            .html.
> >
> ></div>
> >
> ></div>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250973
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to