Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can anyone tell me why this page doesn't get a scroll-bar?
#1
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
Reply
#2
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...
Reply
#3
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)