Results 1 to 6 of 6

Thread: [RESOLVED] HTML scroll problem with just divs

  1. #1
    Lively Member
    Join Date
    Dec 09
    Posts
    105

    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
    PowerPoster techgnome's Avatar
    Join Date
    May 02
    Posts
    21,659

    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 subscribe to all threads I participate, so there's no need to pm when there's an update.*
    *Proof positive that searching the forums does work: View Thread *
    * 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??? *
    * Use Offensive Programming, not Defensive Programming. * On Error Resume Next is error ignoring, not error handling(tm).
    "There is a major problem with your code, and VB wants to tell you what it is.. but you have decided to put your fingers in your ears and shout 'I'm not listening!'" - si_the_geek on using OERN

  3. #3
    Lively Member
    Join Date
    Dec 09
    Posts
    105

    Re: HTML scroll problem with just divs

    solved its to do with fixed positioning changed it to absolute

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 02
    Posts
    21,659

    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 subscribe to all threads I participate, so there's no need to pm when there's an update.*
    *Proof positive that searching the forums does work: View Thread *
    * 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??? *
    * Use Offensive Programming, not Defensive Programming. * On Error Resume Next is error ignoring, not error handling(tm).
    "There is a major problem with your code, and VB wants to tell you what it is.. but you have decided to put your fingers in your ears and shout 'I'm not listening!'" - si_the_geek on using OERN

  5. #5
    Moderator
    Join Date
    Jan 05
    Location
    Sydney
    Posts
    13,612

    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
    Lively Member
    Join Date
    Dec 09
    Posts
    105

    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
  •