Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Disppearing Div Re: Disppearing Div

#62578

okokok, totally going to re-edit this post as it was just me drooling before thinking..

I got on to the pc and had a look in ietester, good old ie is just punting it off the bottom of the page lol..

crazy, however… if you were to add an IE6 conditional style whereby you were adding lower padding to the footer element of equal height to the top: offset.. it would still be hiding the the 40 odd pixels of extra padding with the same rendering error, but it would also add the extra height needed to the height of the entire page.. and should show your footer ok ?

I’ve gotta test this theory, but it sounds like it would work. (obviously breaking it on other browsers, so make it conditionally included)

update:

Yeah just finished testing this, works a treat. uploaded a quick demo on http://www.ninjafocus.com/sandbox/ie6footer/

essentially all I added was 40px bottom padding to #footer. Tricking ie6 into giving you the extra 40pixels that it steals because it doesn’t understand relative positioning :lol:

Add it in a conditional sheet, and you should be good to go.