Results 1 to 6 of 6

Thread: [RESOLVED] HTML scroll problem with just divs

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    Resolved [RESOLVED] HTML scroll problem with just divs

    I created a website using notepad.

    i have two divs. There is NO plain text.

    one div shows an image. the other one shows text.

    the text div is about 2000pixels below the top div. now when page loads you see top div but cant see bottom div. no scrollbar are present and even arrow keys or mouse middle button cant be used to scroll down to see the second div.

    how do you fix this

  2. #2
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: HTML scroll problem with just divs

    are you using absolute positioning? what does the HTML look like? CSS? We're not mind readers, so we don't know what code you used.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    Re: HTML scroll problem with just divs

    solved its to do with fixed positioning changed it to absolute

  4. #4
    Smooth Moperator techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,531

    Re: HTML scroll problem with just divs

    Great... could you kindly mark this thread as resolved then? It's under the Thread Tools menu up by post #1, thanks.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [RESOLVED] HTML scroll problem with just divs

    I recommend against using position:fixed or position:absolute, unless you're sure that's what you want. It sounds to me as though you could simply use a margin between the two elements.

  6. #6

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    113

    Re: [RESOLVED] HTML scroll problem with just divs

    i need divs to be able to be placed freely anywhere on the browser window exactly in same position as in the designer. i give the div top and left values in the style parameter.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width