IE5+ has something called expressions that will do what you need. Go to MSDN Library -> Web development -> HTML and Dynamic HTML -> SDK Documentation -> About Dynamic Properties
----- Original Message ----- From: Barney Boisvert <[EMAIL PROTECTED]> Date: Monday, March 24, 2003 12:11 pm Subject: RE: OT: css, dhtml question > Perhaps a better explaination is in order. The app is internal > for an > IE5.5+ only audience. It's quite visually complex, and I'm trying > to keep > the number of page loads down as the presentation changes as much as > possible. I have a base page set up like this: > > +---------------+ > | | > +---+-------+---+ > | | | | > | | | | > | | | | > | | | | > | | | | > +---+-------+---+ > | | > +---------------+ > > The top 4 content areas all have variable content, while the > footer is > static. As well, the top 4 areas might not all be there, and they > might be > added or removed client-side. This is all working just dandy > using absolute > positioning and hiding stuff. However, I need to slap that footer > bar at > the bottom, and I need it to start below the other content areas (no > overlap). I can't figure out a good way to do that, because I > don't know > how tall the middle 3 areas are (if they are present) until the client > renders them. > > I might well be pursueing a pipe-dream, in which case I'll find > another way, > but it seems like this should be possible. > > thanks, > barneyb > > --- > Barney Boisvert, Senior Development Engineer > AudienceCentral (formerly PIER System, Inc.) > [EMAIL PROTECTED] > voice : 360.671.8708 x12 > fax : 360.647.5351 > > www.audiencecentral.com > > > -----Original Message----- > > From: Jason Miller [mailto:[EMAIL PROTECTED] > > Sent: Monday, March 24, 2003 10:53 AM > > To: CF-Talk > > Subject: Re: OT: css, dhtml question > > > > > > Personally - I handle footers in .cfm includes.. I find it much > easier - > > and simply it includes it at the end of the code. So on shorter and > > longer pages it simply displays at end. > > > > If you needed to actually "attach" a footer to the bottom of the > browser> - something like > > <div id="FooterAbs" style="position: absolute; bottom: 0px; > > z-index: 300;"> > > would work. > > > > I added z-index more for demonstration - The issue is - that you can > > overalp content. Unlike using an include - that will put it at the > > bottom no matter what - you will need to scroll to get content > beyone> viewable screen -but footer will hang on to the bottom edge. > > > > Use it carefully because there are almost always some trouble spots. > > IF your footer can overlap content - not a biggie. In one case I > used it > > - I assigned z-index of -100 ( which also has it's own bugs on > browser> versions) so on shorter page content the footer didn't > interrupt.> > > hope that helps > > jay miller > > > > Barney Boisvert wrote: > > > Totally unrelated, but on the same topic. How might I go about > > putting a > > > footer bar at the bottom of my page using CSS, rather than a > > table. I've > > > had no problems with topbars, sidebars (either side) and the > > main content > > > pane(s), but I can't get stuff to sit at the bottom of the page > > correctly. > > > I tried 'bottom' (complementing top) but it seems to be tied > to the > > > browser's size, not the page's size, which doesn't work if the > > page scrolls, > > > at least on IE6. > > > > > > Use JS to set it dynamically? > > > > > > footerbar.style.top = Math.max(menubar.style.height, > > > contentpane.style.height) + topbar.style.height; > > > > > > that seems like a horrible way to do it to me. > > > > > > barneyb > > > > > > --- > > > Barney Boisvert, Senior Development Engineer > > > AudienceCentral (formerly PIER System, Inc.) > > > [EMAIL PROTECTED] > > > voice : 360.671.8708 x12 > > > fax : 360.647.5351 > > > > > > www.audiencecentral.com > > > > > > > > >>-----Original Message----- > > >>From: charlie griefer [mailto:[EMAIL PROTECTED] > > >>Sent: Monday, March 24, 2003 10:18 AM > > >>To: CF-Talk > > >>Subject: Re: OT: css, dhtml question > > >> > > >> > > >>may want to give the <div class="sidebar"> a width... > > >> > > >>it might defined in the 'sidebar' class in the .css...i was too > > >>lazy to look > > >>:) > > >> > > >>charlie > > >> > > >>Mark A. Kruger - CFG writes: > > >> > > >> > > >>>Can someone give me the quick and dirty answer on why this > page doesn't > > >>>render correctly in IE? > > >>> > > >>>http://www.thelifegate.net/Pages/ClassReg.asp > > >>> > > >>>thanks! > > >>> > > >>>-mk > > >>> > > >>> > > >>> > > >> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4