50 users online (1 members and 49 guests)  


  Results 1 to 9 of 9

Related

  1. Replies: 1
  2. Making a scroll bar within a page    Forum: HTML Forum
    Replies: 6
  3. Scroll Bar for text within page.    Forum: HTML Forum
    Replies: 1
  4. Scroll bar for part of page    Forum: HTML Forum
    Replies: 1
  5. Replies: 7
  1. #1
    EruditerThanYou's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2008
    Location
    Tucson, AZ
    Posts
    5

    Question Not sure why my page doesn't scroll

    Hi -- I'm a new member and am designing a layout for my company.

    I've run into a problem I've not seen before.

    My I have a fixed height and width layout with a scrolling main content section and that all works beautifully -- however I notice that when I minimize my browser screen so that the viewport is now smalled than the page layout, the browser scrollbars do not engage.

    Right now I have the site on a secure server for testing so you'll need to accept the certificate to view.

    Here is the URL. https://webmail.dearmansystems.com/dsiweb/Index.html

    I've validated the code with the W3c validator and it produces four errors (Margin height, Margin width left margin and top margin -- I was already aware that these are not XHTML 1.0 transitional attributes).

    I removed these attributes on a different test page -- but the problem persists.

    Has anyone seen this problem before?

    I sure could use help fixing it.

    Thanks,
    Beth

  2. #2
    vinyl-junkie's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    721

    Re: Not sure why my page doesn't scroll

    Hi, and welcome to AHFB!

    The page you posted a link to is a secure web page, which we can't access. Would it be possible for you to post the code to it instead?
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more

  3. #3
    EruditerThanYou's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2008
    Location
    Tucson, AZ
    Posts
    5

    Re: Not sure why my page doesn't scroll

    I've attached two text documents. One with the code for the Index.html page and the second for my style sheet.

    Please ignore the comments in the stylesheet, I had used it to teach my mom about CSS -- she's taking a beginning HTML course and was having problems understanding how stylesheets work -- and I haven't cleaned up that file yet.

    Thanks,

    Beth
    Attached Files Attached Files

  4. #4
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Not sure why my page doesn't scroll

    This part found in your markups causes the problem (in FF).
    Code:
    <style type="text/css">
    <!--
    body {
    	background-color: #FFFFFF;
    	position: fixed;
    }
    -->
    </style>
    It's erroneous, and should be background-position instead.

    Hope it helps.
    Last edited by rangana; 06-18-2008 at 08:36 PM. Reason: Provide link

  5. #5
    EruditerThanYou's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2008
    Location
    Tucson, AZ
    Posts
    5

    Re: Not sure why my page doesn't scroll

    I see your point about Background-position -- however neither removing this line nor editing it with background-position values seems to solve my problem.

  6. #6
    rangana's Avatar
    Moderator/Allstar

    Status
    Offline
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    317

    Re: Not sure why my page doesn't scroll

    Quote Originally Posted by EruditerThanYou View Post
    I see your point about Background-position -- however neither removing this line nor editing it with background-position values seems to solve my problem.
    I've tested it IE7 and FF2, and should have work. Or i'm not taking what you wanted to do?

    Does'nt the scrollbar show when minimized? or there's another problem that I missed.
    Checkout my porfolio.
    Please click the button when a member helped you.
    Take time to use Forum's Search function.

  7. #7
    EruditerThanYou's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2008
    Location
    Tucson, AZ
    Posts
    5

    Re: Not sure why my page doesn't scroll

    The scrollbar for the main content div INSIDE the page layout works fine in all browsers. (the page I posted here doesn't contain enough content for the main content div to scroll).

    The Problem is that when I minimize the browser window so that my entire layout is no longer visible, I don't get scrollbars within the browser viewport window that enable me to scroll to see the parts of the page that aren't visible.

    Again, I've never seen this problem before -- but it doesn't appear to be browser specific which makes me think there is something wonky with my code.

    I'm at a complete loss.

    beth

  8. #8
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Not sure why my page doesn't scroll

    I see the problem in the main browser scrollbar as you mentioned. Looking at the CSS I see 2 more instances of "position: fixed;"

    may or may not help.
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  9. #9
    EruditerThanYou's Avatar
    New User

    Status
    Offline
    Join Date
    Jun 2008
    Location
    Tucson, AZ
    Posts
    5

    Re: Not sure why my page doesn't scroll

    It did. Fixed.

    I didn't realize that I'd set my main content DIV to position: fixed.

    Funny how "fixed" covers so many evils . . but in the end "fixed" is what this problem is.

    Ah the irony.

    Thanks.



Tags for this Thread