View Full Version : Bottom margin problem - need advice
plevans
10-12-2006, 09:01 PM
http://www.fenceprotool.com/fenceprotemplate.html
Can anyone advise me on why a wide margin appears below my footer when the above page is viewed in Netscape 8.1 and Opera 8.54?
Thanks,
Patti
Tom E.
10-12-2006, 09:42 PM
Hi Patti,
I don't have time to look at your page, but here's an article that discusses the 100% height problem:
http://www.apptools.com/examples/tableheight.php
Hope it helps,
Tom
plevans
10-12-2006, 10:07 PM
Thanks Tom, but I don't find anything in the article that seems to apply to my problem. I haven't set any height properties, other than text line-height, hr, images and the li's in the horizontal nav tabs.
Tom E.
10-12-2006, 10:36 PM
I may have misunderstood your problem. I assumed you wanted the footer to be at the bottom of the window. (this is usually accomplished by setting the height of some element to 100%, so it fills all available vertical space, even if the page content would fit in less)
I checked your page in IE6 and it looks about the same as it does in Opera - the footer is right below the text block that ends with "... within 30 days of receipt" and then there's lots of white between the footer and the bottom of the browser window.
kitchin
10-12-2006, 10:43 PM
Ah, my fav. topic, line endings! Your file has a real mix of strange line endings, 6 unix-style LF, 22 old mac-style CR, 1 windows style CRLF. That could be it. Try uploading as ASCII/text, downloading same, and re-uploading same.
plevans
10-12-2006, 10:48 PM
Yes, I do want the footer at the bottom of the window, with no whitespace below it. In other words I want the footer to sit at the bottom with nothing below it.
plevans
10-12-2006, 10:58 PM
kitchin:
Would it be better if I corrected the line endings? How did I get a mix of strange line endings in the first place? Is this something I should avoid doing and if so, how?
kitchin
10-12-2006, 11:16 PM
Weeeel, looks like you downloaded the template. Maybe cut-n-paste, I don't know. I also don't know if it's causing the problem, but it can sometimes do such things, if I recall correctly. Do you use a Mac? The Mollio templates look to be in CRLF style and Mac is CR or LF, so something went kooky. But once you round trip it in ASCII mode you might be OK.
kitchin
10-12-2006, 11:44 PM
I hope I'm not wasting your time with the line endings issue. The Mollio templates do not look the same in Mozilla Firefox as in IE6 anyway. Font size different.
plevans
10-12-2006, 11:45 PM
No I don't use a Mac.
By line breaks do you mean the blank lines between the lines of code? If so I wonder if CoffeeCup Editor is the culprit? Or using Firefox's right-click View Page Source/Clean Up Code?
The code certainly looks better after round tripping it, but the whitespace is still below the footer and now it's there in FF, which it wasn't before.
kitchin
10-13-2006, 12:12 AM
OK, the line endings are fixed (the end of every line, not just blank). They are now all LF, which is right since the server is unix-style.
Mybe you could post some screenshots of how it looks to you and how it should look.
Now here's another time waster maybe: I turned images off (slow modem connection) and so I see a link "Skip to main content," which is the alt text of a spacer. You probably don't need that link??
plevans
10-13-2006, 12:39 AM
I know how to create a save a screenshot but I'm not sure how to post them here.
kitchin
10-13-2006, 01:36 AM
Since I'm browsing with images off, I see the handy alt-text "Insert Image" right above this text box I'm typing in. Looks like its the 5th icon from the left.
plevans
10-14-2006, 02:10 PM
Instead of screenshots you can view my index file at http://fenceprotool.com/index.html
With more content added the footer sits at the bottom of the browser window.
Is there a way to ensure that it will always stay at the bottom, even with higher screen resolutions?
Is there a way to ensure that it will always stay at the bottom, even with higher screen resolutions?
Make it the bottom row of a table that is set to 100% height.
http://aota.net/forums/showthread.php?t=21789
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.