![]() |
Can anyone tell me why this page doesn't get a scroll-bar? - Printable Version +- MacResource (https://forums.macresource.com) +-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1) +--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3) +--- Thread: Can anyone tell me why this page doesn't get a scroll-bar? (/showthread.php?tid=55880) |
Can anyone tell me why this page doesn't get a scroll-bar? - john-o - 06-01-2008 http://jiclark.net/ShadeCloth/TarpTie.html I'm learning CSS, slowly but surely, and have this (very) simple page of images arranged with floats. For some weird reason that I can't fathom, the window doesn't have a scroll-bar when you shrink it small enough that the images don't all show (or as it will appear to anyone with less than a 20-inch LCD monitor). I've tried a bunch of things, but can't get a scroll-bar to appear, ever! Grrrr... John Re: Can anyone tell me why this page doesn't get a scroll-bar? - wolfcry911 - 06-01-2008 it's because the main content is positioned absolutely. Absolute positioning removes the element from the normal document flow, so if the document isn't large enough enough to display the AP, it doesn't show. P.S. I'll be responding to your email later today... Re: Can anyone tell me why this page doesn't get a scroll-bar? - john-o - 06-01-2008 Thanks wolf! So how should it be positioned? I've had quite a struggle with trying to figure out when you need a wrapper and when you don't, and finally figured out how to get the leftnav to display statically, among other things... You'll notice that I abandoned your wide-left-border-on-the-body technique, in order to accomplish the static left column. I'll bet that I could go back to having a wrapper at this point, but don't know if I actually need it or not?? Anyway, I'm still enjoying the process, for the most part, so that's good... I look forward to getting your reply; as always, thanks for your help! John |